diff options
author | Andreas Jaeger <aj@suse.de> | 2014-07-16 19:58:38 +0200 |
---|---|---|
committer | Andreas Jaeger <jaegerandi@gmail.com> | 2014-07-17 15:44:36 +0000 |
commit | 4a6518293c932556ab401ae39a11bc61fe22c3ba (patch) | |
tree | 73f36226a4e533fb708af017d0a28d460386cd62 /setup.cfg | |
parent | 2450528776035950898607dc0436da0515934244 (diff) | |
download | glance_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.cfg | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |