I18N support for API Messages based on the client User Agent

Bug #898766 reported by Nachi Ueno
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Wishlist
Unassigned

Bug Description

Current Nova API messages is fixed to the locale of Host OS.
However, clients from various country will use the API. So API log message should be changed based on the locale of the client User Agent.

Tags: api Edit Tag help
Revision history for this message
Brian Waldon (bcwaldon) wrote :

This should probably be a blueprint, as it sounds like a pretty major feature.

Revision history for this message
Jesse Andrews (anotherjesse) wrote :

Really? It seems like a wsgi middleware could look at a header and set the locale for the request.

Nachi was originally going to file as a blueprint but I felt that it should become a blueprint only if it isn't a trivial fix (which I hope it is)

Revision history for this message
Brian Waldon (bcwaldon) wrote :

We need a way to differentiate between user-facing i18n and server-facing i18n. We can't have a request change the language of log lines.

Thierry Carrez (ttx)
Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
tags: added: api
Revision history for this message
Russell Bryant (russellb) wrote :
Changed in nova:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers