i18n-enablement
This BluePrint/Spec proposes completing the enablement of i18n
(internationali
Internationaliz
during recent releases. During the Icehouse release, much of the support
for internationaliz
the update of Oslo's gettextutils (commit
1553a1e78ec262b
the process. Removal of the use of str() in exceptions and messages
was the other major piece of work that was implemented: (commit
cbe1d5f5e22e5f7
To finalize this work in Juno we need to enable "lazy" translation.
Enablement of lazy translation will allow end users to not only have
logs produced in multiple languages, but adds the ability for REST
API messages to also be returned in the language chosen by the user.
This functionality is important to support the use of OpenStack by the
international community.
Blueprint information
- Status:
- Complete
- Approver:
- John Griffith
- Priority:
- Medium
- Drafter:
- Jay Bryant
- Direction:
- Approved
- Assignee:
- Jay Bryant
- Definition:
- Approved
- Series goal:
- Accepted for juno
- Implementation:
- Implemented
- Milestone target:
- 2014.2
- Started by
- Jay Bryant
- Completed by
- John Griffith
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Add spec for i18n-enablement
jsbryant - 7/2/2014
I have most of the code for this written, but encountered a bug in the gettextutils code that needs to be addressed. Jim Carey is currently working on getting that fix in place. I will need to merge in the fixes from gettextutils before I can commit my changes. The good news is that the unittest was working, it found a bug.
Hope in the next week to ten days we can get the code pushed up.
Gerrit topic: https:/
Addressed by: https:/
Sync gettextutils.py from oslo-incubator
Gerrit topic: https:/
Addressed by: https:/
Explicitly import _() in Cinder code
Addressed by: https:/
Enable lazy translation for Cinder
Gerrit topic: https:/
Addressed by: https:/
Debug log messages need to be unicode