glance/glance/store
Fei Long Wang f70b72b78b Add support for API message localization
Add support for doing language resolution for a request,
based on the Accept-Language HTTP header. For example,
an HTTP client can receive API messages in Chinese even
if the locale language of the server is English.

The underscore (_) method is initialized so that it returns
openstack.common.gettextutils.Message objects. The locale
of these Message objects is set when exceptions with which
they are associated are raised in the context of an HTTP
request.

docImpact
Partially implements bp i18n-messages

Signed-off-by: Fei Long Wang <flwang@cn.ibm.com>
Signed-off-by: John Warren <jswarren@us.ibm.com>

Change-Id: I352cda57fe119022c59c6c813b5c8053765b2d3c
2014-03-04 14:18:28 +08:00
..
__init__.py Add support for API message localization 2014-03-04 14:18:28 +08:00
base.py Remove vim header 2014-01-14 16:03:28 +00:00
cinder.py Improve help strings 2014-02-09 21:56:52 +01:00
filesystem.py Add support for API message localization 2014-03-04 14:18:28 +08:00
gridfs.py Merge "Use six.moves.urllib.parse instead of urlparse" 2014-02-17 20:59:24 +00:00
http.py Use six.moves.urllib.parse instead of urlparse 2014-02-17 09:52:00 +08:00
location.py Add support for API message localization 2014-03-04 14:18:28 +08:00
rbd.py Keep py3.X compatibility for urllib 2014-02-18 13:55:54 +08:00
s3.py Use six.moves.urllib.parse instead of urlparse 2014-02-17 09:52:00 +08:00
sheepdog.py Remove vim header 2014-01-14 16:03:28 +00:00
swift.py Keep py3.X compatibility for urllib 2014-02-18 13:55:54 +08:00
vmware_datastore.py VMware storage backend should use oslo.vmware 2014-02-27 16:15:07 -08:00