From 760856e9669b0af20909c56d4a5a082bd4d7e450 Mon Sep 17 00:00:00 2001 From: Brant Knudson Date: Thu, 25 Jul 2013 17:43:36 -0500 Subject: Add support for API message localization 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 an exception message to the user requested language and return that translation from the API. Co-authored-by: Luis A. Garcia Co-authored-by: Mathew Odden Implements bp user-locale-api Change-Id: Id8e92a42039d2f0b01d5c2dada733d068b2bdfeb --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 1297ba42..26415afa 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,4 @@ etc/logging.conf keystone/tests/tmp/ .project .pydevproject +keystone/locale/*/LC_MESSAGES/*.mo -- cgit