[Openstack-i18n] localised API message responses - possible?

Akihiro Motoki amotoki at gmail.com
Sat Jul 4 04:47:25 UTC 2015

As far as I look the neutron code, it seems WSGI framework honors
Accept-Language header in a request,
and the API layer tries to generate translated messages.
I think other projects have a similar mechanism.

I think translated messages can be returned by REST API,
AFAIK nobody checks the behavior.


2015-07-03 13:06 GMT+09:00 Tom Fifield <tom at openstack.org>:

> Hi all,
> I'm just going through old questions on Ask OpenStack, and thought we
> might have an answer for this one:
> https://ask.openstack.org/en/question/4346/is-there-a-way-of-passing-the-language-header-to-openstack-rest-api-calls-so-that-the-message-returned-by-openstack-is-localized/
> I wanted to know if it is possible to get the localized openstack
> messages when I make a openstack REST API call? If so how can I pass the
> language header?
> Regards,
> Tom
> _______________________________________________
> Openstack-i18n mailing list
> Openstack-i18n at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-i18n
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-i18n/attachments/20150704/4cb4e175/attachment.html>

More information about the Openstack-i18n mailing list