i18n-enablement

Registered by Jay Bryant

This BluePrint/Spec proposes completing the enablement of i18n
(internationalization) support for Cinder.

Internationalization implementation has been an on-going effort in OpenStack
during recent releases. During the Icehouse release, much of the support
for internationalization was already merged into Cinder. Specifically
the update of Oslo's gettextutils (commit
1553a1e78ec262b044ce99b418103c91b7b580f6) completed much of
the process. Removal of the use of str() in exceptions and messages
was the other major piece of work that was implemented: (commit
cbe1d5f5e22e5f792128643e4cdd6afb2ff2b5bf).

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:
milestone icon 2014.2
Started by
Jay Bryant
Completed by
John Griffith

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/for,n,z

Addressed by: https://review.openstack.org/97358
    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://review.openstack.org/#q,topic:bp/i18n-enablement,n,z

Addressed by: https://review.openstack.org/105269
    Sync gettextutils.py from oslo-incubator

Gerrit topic: https://review.openstack.org/#q,topic:bug/1306275,n,z

Addressed by: https://review.openstack.org/105315
    Explicitly import _() in Cinder code

Addressed by: https://review.openstack.org/105561
    Enable lazy translation for Cinder

Gerrit topic: https://review.openstack.org/#q,topic:bug/1348244,n,z

Addressed by: https://review.openstack.org/110059
    Debug log messages need to be unicode

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.