summaryrefslogtreecommitdiffstats
path: root/setup.cfg
diff options
context:
space:
mode:
authorJoe Heck <heckj@mac.com>2012-06-21 17:51:09 -0700
committerJoe Heck <heckj@mac.com>2012-06-21 18:03:09 -0700
commite0136d2f7c5b03d695d2ee0ef4d0fe0e310eca3e (patch)
treece58cb5bc34ad1c7d17480c1975418b9ec5996aa /setup.cfg
parent991a6182e06327ed144f224efb04a81ddab2fae0 (diff)
downloadkeystone-e0136d2f7c5b03d695d2ee0ef4d0fe0e310eca3e.tar.gz
keystone-e0136d2f7c5b03d695d2ee0ef4d0fe0e310eca3e.tar.xz
keystone-e0136d2f7c5b03d695d2ee0ef4d0fe0e310eca3e.zip
setting up babel for i18n work
blueprint start-keystone-i18n Change-Id: Ie18daada4b537b74a27aa1defe676698d9944468
Diffstat (limited to 'setup.cfg')
-rw-r--r--setup.cfg14
1 files changed, 14 insertions, 0 deletions
diff --git a/setup.cfg b/setup.cfg
index 0e8f67dd..2454585d 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -8,6 +8,20 @@ all_files = 1
build-dir = doc/build
source-dir = doc/source
+[compile_catalog]
+directory = keystone/locale
+domain = keystone
+
+[update_catalog]
+domain = keystone
+output_dir = keystone/locale
+input_file = keystone/locale/keystone.pot
+
+[extract_messages]
+keywords = _ gettext ngettext l_ lazy_gettext
+mapping_file = babel.cfg
+output_file = keystone/locale/keystone.pot
+
[nosetests]
# NOTE(jkoelker) To run the test suite under nose install the following
# coverage http://pypi.python.org/pypi/coverage