Oslo: i18n Message improvements

Registered by Luis A. Garcia on 2013-12-18

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-incubator/+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 nova, 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:
Started
Approver:
Russell Bryant
Priority:
Medium
Drafter:
Luis A. Garcia
Direction:
Needs approval
Assignee:
James Carey
Definition:
Review
Series goal:
None
Implementation:
Needs Code Review
Milestone target:
milestone icon next
Started by
Luis A. Garcia on 2014-02-07

Related branches

Sprints

Whiteboard

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

Addressed by: https://review.openstack.org/70890
    Sync latest gettextutils from oslo-incubator

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

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

Addressed by: https://review.openstack.org/75644
    Sync latest config file generator from oslo-incubator

Merged
======

https://review.openstack.org/#/c/70890/
https://review.openstack.org/#/c/75644/

Pending
======

https://review.openstack.org/#/c/73706/

Above has been waiting for proposer to split the patch up a bit.

Addressed by: https://review.openstack.org/78095
    Remove use of concatenation on messages

Addressed by: https://review.openstack.org/78096
    Remove use of str() on exceptions

Apologies, this missed the deadline for Feature Freeze. Please rebase patches as soon as Juno opens, and we will try to get this in during that period. --johnthetubaguy (5th March 2014)

While things have merged in icehouse, there is not enough to bother splitting this blueprint. --johnthetubaugy

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.