Ask Your Question

Is there a way of passing the language header to openstack REST API calls so that the message returned by openstack is localized?

asked 2013-08-21 18:00:56 -0500

Test gravatar image

updated 2013-08-30 15:44:10 -0500

smaffulli gravatar image

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?

edit retag flag offensive close merge delete


I'm not sure of the answer, but you can consider also asking the internationalisation team on their mailing list:

fifieldt gravatar imagefifieldt ( 2013-08-22 19:28:14 -0500 )edit

Did you get answer?

Sudheesh gravatar imageSudheesh ( 2013-08-26 08:36:58 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-04 21:57:15 -0500

fifieldt gravatar image

According to the i18n team:

This is a helpful article:


""" 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 """

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-08-21 18:00:56 -0500

Seen: 2,557 times

Last updated: Jul 04 '15