Bug 1041864

Summary: [RFE][keystone]: Support Accept-Language for API messages
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: openstack-keystoneAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact: Ami Jeain <ajeain>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: aberezin, ayoung, breeler, lijli, markmc, nkinder, ukalifon, yeylon
Target Milestone: Upstream M3Keywords: FutureFeature, i18n
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/keystone/+spec/user-locale-api
Whiteboard: upstream_milestone_icehouse-3 upstream_status_implemented upstream_definition_approved
Fixed In Version: openstack-keystone-2014.1-4.el7ost Doc Type: Enhancement
Doc Text:
Previously, Identity only provided API error and exception messages in English. Providing translated messages would be more useful when the requestor is using a different locale. Now, translated messages are provided if a translation exists for the requestor's locale.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-22 11:44:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 1046776    
Bug Blocks: 1056875, 1082429    

Description RHOS Integration 2013-12-12 19:46:34 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/keystone/+spec/user-locale-api.

Description:

Currently, error/exception messages coming back from Keystone are not translated at all. Ideally, we would like to have the messages translated to the request senders locale, which we can support using the HTTP Accept-Language header to determine a preferred locale before sending back the translated response. Alternatively, there is the possibility of using the tenant/user data to store a preferred locale for the request.

There is a similar blueprint for Nova that can be used to track the implementation work there:
https://blueprints.launchpad.net/nova/+spec/user-locale-api

Specification URL (additional information):

None