Ceilometer i18n support isn't complete, messages should be wrapped by "_" function
Bug #1199678 reported by
David Jia
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ceilometer |
Fix Released
|
Low
|
ChenZheng |
Bug Description
Ceilometer has enabled i18n support, but there are a lot of messages in source code aren't wrapped by "_" function, for example:
https:/
LOG.info('Starting server in PID %s' % os.getpid()) should be replace by LOG.info(
those messages can't be captured into po file and translated.
we should keep consistency with Oslo codes, such as:
https:/
description: | updated |
description: | updated |
Changed in ceilometer: | |
assignee: | nobody → Justin Shepherd (jshepher) |
Changed in ceilometer: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in ceilometer: | |
assignee: | nobody → ChenZheng (czheng-2) |
status: | Triaged → In Progress |
Changed in ceilometer: | |
milestone: | none → icehouse-1 |
status: | Fix Committed → Fix Released |
Changed in ceilometer: | |
milestone: | icehouse-1 → 2014.1 |
To post a comment you must log in.
There is still an indeterminacy for OpenStack i18n team on whether to support LOG level translation or not, because if we translate the LOGs, it might not be easy to search and locate errors,