summaryrefslogtreecommitdiff
path: root/setup.cfg
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2014-07-16 19:58:38 +0200
committerAndreas Jaeger <jaegerandi@gmail.com>2014-07-17 15:44:36 +0000
commit4a6518293c932556ab401ae39a11bc61fe22c3ba (patch)
tree73f36226a4e533fb708af017d0a28d460386cd62 /setup.cfg
parent2450528776035950898607dc0436da0515934244 (diff)
downloadglance_store-4a6518293c932556ab401ae39a11bc61fe22c3ba.tar.gz
Setup for glance.store for translation
Setup configuration for localization and add initial translation template like it's done for all other OpenStack projects. Once this is in, the translation bot job will take care of syncing translations with transifex (already setup). Note that the proper place for the template is for all python projects $PROJECT/locale/$PROJECT.pot Change-Id: If814bcf3e3e98c2d39bfcfd4ffefab308027672c
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 7bd5111..a8c829a 100644
--- a/setup.cfg
+++ b/setup.cfg
@@ -40,3 +40,17 @@ all_files = 1
[upload_sphinx]
upload-dir = doc/build/html
+
+[compile_catalog]
+directory = glance.store/locale
+domain = glance.store
+
+[update_catalog]
+domain = glance.store
+output_dir = glance.store/locale
+input_file = glance.store/locale/glance.store.pot
+
+[extract_messages]
+keywords = _ gettext ngettext l_ lazy_gettext
+mapping_file = babel.cfg
+output_file = glance.store/locale/glance.store.pot