Setup for translation

client translation effort starts and several client projects
including novaclient already setup translations.

To start translation, we need to initially import the translation
file - and place it at the proper place so that the usual CI
scripts can handle it. The proper place is for all python
projects $PROJECT/locale/$PROJECT.pot - see setup.cfg.

Further imports will be done by the OpenStack Proposal bot.

Closes-Bug: #1099603
Change-Id: I5b13a9428e6272e83a45b82c06f524be772d3d7a
This commit is contained in:
Akihiro Motoki 2015-12-04 01:48:01 +09:00
parent 4667f32103
commit aa2dad3d83
3 changed files with 1784 additions and 0 deletions

2
babel.cfg Normal file
View File

@ -0,0 +1,2 @@
[python: **.py]

File diff suppressed because it is too large Load Diff

View File

@ -39,3 +39,17 @@ source-dir = doc/source
[wheel]
universal = 1
[extract_messages]
keywords = _ gettext ngettext l_ lazy_gettext
mapping_file = babel.cfg
output_file = python-neutronclient/locale/python-neutronclient.pot
[compile_catalog]
directory = python-neutronclient/locale
domain = python-neutronclient
[update_catalog]
domain = python-neutronclient
output_dir = python-neutronclient/locale
input_file = python-neutronclient/locale/python-neutronclient.pot