Commit Graph

2 Commits

Author SHA1 Message Date
Andreas Jaeger e808f328c2 Update translation setup
Follow new infra setup for translations, see spec
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html
for full details.

This basically renames
python-novaclient/locale/python-novaclient.pot to
novaclient/locale/novaclient. For this we need to update
setup.cfg. The domain name is already correct in
novaclient/i18n.py.

The project has no translations currently, let's remove the outdated
pot file, the updated scripts work without them. So, we can just
delete the file and once there are translations, an updated pot file
together with translations can be imported automatically.


Change-Id: Ifeabedf157f0338c1e76dc5ab8ab41e2e331ad87
2016-01-28 14:12:20 +00:00
Mark Doffman f7a26601b2 Enable i18n with Babel.
Add Babel commands to setup.cfg. Create the first .pot file with current
translatable strings using `python setup.py extract_messages`.

Co-Authored-By: Matt Riedemann <mriedem@us.ibm.com>

Change-Id: I57804496d1ec67b566b350941e71206903dd8d1d
Closes-Bug: #1492444
2015-09-08 10:10:25 -07:00