i18n Message improvements

Registered by Brad Pokorny

During the Oslo meeting on 2013-10-11 (http://eavesdrop.openstack.org/meetings/oslo/2013/) we discussed the integration of Messages into OpenStack vs other approaches, and also came up with some ideas for improving the current implementation and on how to implement the translated logs feature.

After the corresponding blueprint is implemented in oslo (https://blueprints.launchpad.net/oslo/+spec/i18n-messages) we will have the ability to translate REST API responses, and to create additional logs in languages other than the default system locale.

This blueprint is for synchronizing the oslo code into neutron, re-enabling the lazy translation, and making necessary adjustments in existing messages so they are translatable (e.g. Messages should not be created with +, but with % instead).

Blueprint information

Status:
Complete
Approver:
Mark McClain
Priority:
Medium
Drafter:
Brad Pokorny
Direction:
Approved
Assignee:
Luis A. Garcia
Definition:
Approved
Series goal:
Accepted for icehouse
Implementation:
Implemented
Milestone target:
milestone icon 2014.1
Started by
Mark McClain
Completed by
Luis A. Garcia

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bp/i18n-messages,n,z

Addressed by: https://review.openstack.org/66976
    Sync gettextutils from Oslo The Message class in Oslo, in charge of providing delayed translation features, was improved and a new feature was implemented to enable creation of addition logs in different locales. Latest Oslo commit: 221c37d Allo

Addressed by: https://review.openstack.org/66977
    Re-enable lazy translation

---------
2014-02-21 UPDATE (salvatore-orlando)

This seems implemented to me. Any comment?

---------
2014-02-24 UPDATE (luisg)
I think all development items are ready, and apparently there has not been issues with the new implementation of the Message class here. The new Message code has been in for a while now.

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.