vmware-nsx/neutron
Luis A. Garcia 1d988b4c22 Enable localizable REST API responses via the Accept-Language header
Add support for doing language resolution for a request, based on the
Accept-Language HTTP header. Using the lazy gettext functionality, from
oslo gettextutils, it is possible to use the resolved language to
translate exception messages to the user requested language and
return that translation from the API.

Partially implements bp user-locale-api.

Change-Id: I63edc8463836bfff257daa8a2c66ed5d3a444254
2013-08-07 21:19:25 +00:00
..
agent Fix docstring to reflect what the method actually does. 2013-08-01 13:24:18 -07:00
api Enable localizable REST API responses via the Accept-Language header 2013-08-07 21:19:25 +00:00
common Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
db Merge "Cisco plugin db code cleanup, part II" 2013-08-07 16:24:43 +00:00
debug Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
extensions Merge "LBaaS: add status field to PoolMonitorAssociation table" 2013-08-01 21:50:25 +00:00
locale Imported Translations from Transifex 2013-08-07 06:14:39 +00:00
openstack Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
plugins Correct NVP license header files 2013-08-07 11:34:46 -07:00
scheduler Merge "Register agent schedulers options in one place" 2013-07-18 10:05:43 +00:00
server Enable localizable REST API responses via the Accept-Language header 2013-08-07 21:19:25 +00:00
services Merge "LBaaS: add status field to PoolMonitorAssociation table" 2013-08-01 21:50:25 +00:00
tests Enable localizable REST API responses via the Accept-Language header 2013-08-07 21:19:25 +00:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
hooks.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
neutron_plugin_base_v2.py Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
policy.py Fixing some typos found during translation 2013-07-30 07:16:22 -03:00
quota.py Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
service.py Enable logging before using it 2013-07-13 15:35:22 +08:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Enable localizable REST API responses via the Accept-Language header 2013-08-07 21:19:25 +00:00