Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1046801

Summary: [RFE][Tracking][glance]: i18n Message improvements
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-glanceAssignee: Flavio Percoco <fpercoco>
Status: CLOSED ERRATA QA Contact: Giulio Fidente <gfidente>
Severity: high Docs Contact:
Priority: low    
Version: unspecifiedCC: dnavale, dron, eglynn, fpercoco, markmc, nlevinki, scohen, yeylon
Target Milestone: rcKeywords: FutureFeature, Triaged
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/i18n-messages
Whiteboard: upstream_milestone_icehouse-rc1 upstream_status_implemented upstream_definition_approved
Fixed In Version: openstack-glance-2014.1-2.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:32:07 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1042121    
Bug Blocks:    

Description RHOS Integration 2013-12-26 23:15:19 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/i18n-messages.

Description:

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 glance, 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).

Specification URL (additional information):

None

Comment 3 Flavio Percoco 2014-03-06 09:41:16 UTC
A normal glance test run should be enough to make sure this feature didn't break anything.

In order to test the feature itself, using curl is necessary since this is likely not going to get into the client library:

$ curl -i -X GET -H 'Accept-Language: zh' -H 'Content-Type: application/json' http://127.0.0.1:9292/v2/images/aaa

Comment 5 nlevinki 2014-06-01 07:45:09 UTC
Run automation with puddle http://download.lab.bos.redhat.com/rel-eng/OpenStack/5.0-RHEL-6/2014-05-27.2
No issues were found, automation passed

Comment 7 errata-xmlrpc 2014-07-08 15:32:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0851.html