Setup for translation
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. Setup also setup.cfg with the usual babel commands and add the default babel.cfg file. Change-Id: I2c0350e15c68bcae2a0611dade5f5a0705a9387d
This commit is contained in:
parent
6a96ad8ab8
commit
0e9bb23849
15
setup.cfg
15
setup.cfg
@ -65,3 +65,18 @@ autodoc_index_modules = 1
|
||||
|
||||
[wheel]
|
||||
universal = 1
|
||||
|
||||
|
||||
[compile_catalog]
|
||||
directory = vmware_nsx/locale
|
||||
domain = vmware_nsx
|
||||
|
||||
[update_catalog]
|
||||
domain = vmware_nsx
|
||||
output_dir = vmware_nsx/locale
|
||||
input_file = vmware_nsx/locale/vmware_nsx.pot
|
||||
|
||||
[extract_messages]
|
||||
keywords = _ gettext ngettext l_ lazy_gettext
|
||||
mapping_file = babel.cfg
|
||||
output_file = vmware_nsx/locale/vmware_nsx.pot
|
||||
|
1633
vmware_nsx/locale/vmware_nsx.pot
Normal file
1633
vmware_nsx/locale/vmware_nsx.pot
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user