Bug 1041645 - [RFE][cinder]: Support Accept-Language for API messages
Summary: [RFE][cinder]: Support Accept-Language for API messages
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: RFEs
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: RHOS Maint
QA Contact:
URL: https://blueprints.launchpad.net/cind...
Whiteboard: upstream_milestone_next upstream_stat...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-12 18:28 UTC by RHOS Integration
Modified: 2016-02-02 05:06 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-19 16:49:53 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description RHOS Integration 2013-12-12 18:28:08 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/cinder/+spec/user-locale-api.

Description:

Currently, error messages coming back from the API are translated using the same locale as the system the Cinder API is running on. 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 before sending back the translated response. Alternatively, there is the possibility of using the tenant/user data from Keystone to store a preferred locale.

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

Most of the work in Oslo and Nova should be easily transferable to the Cinder API.

Specification URL (additional information):

None


Note You need to log in before you can comment on or make changes to this bug.