Browse Source

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
changes/06/251106/1
Gary Kotton 6 years ago
parent
commit
0e9bb23849
3 changed files with 1648 additions and 1 deletions
  1. +0
    -1
      babel.cfg
  2. +15
    -0
      setup.cfg
  3. +1633
    -0
      vmware_nsx/locale/vmware_nsx.pot

+ 0
- 1
babel.cfg View File

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

+ 15
- 0
setup.cfg View File

@ -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
- 0
vmware_nsx/locale/vmware_nsx.pot
File diff suppressed because it is too large
View File


Loading…
Cancel
Save