[openstack-dev] [all][i18n] Rework of translation setup

Andreas Jaeger aj at suse.com
Thu Jan 28 12:13:50 UTC 2016


Projects that want to setup translations for their repositories run into
a few common problems and we're addressing these now to make the setup
for everybody easier. The problems they run into came from limitations
of the current infra scripts, so we rework the infra scripts.

We want to have a simple and consistent setup for translations - with a
sensible consistency. Right now it’s consistent for python projects but
not sensible in some cases.

See here for the full spec:
http://specs.openstack.org/openstack-infra/infra-specs/specs/translation_setup.html

We're working basically on two major changes:
a) The same setup for django projects.
b) Locate files for python projects in a better place.

b) only affects olso.* and python-*client projects:
We need to update setup.cfg, your i18n file and move the files from
$reponame/locale/$reponame.pot to $modulename/locale/modulename.pot - so
placing it in your source directory and not besides it.

While we move files around, we also stopped syncing of translations for
olso* and python-client projects. So, please review these changes
quickly and merge them.

For a) we will review each django project and send patches for them as well.

Also, we make our scripts more robust - and will document this properly.

If you have any questions, please reach out to us. We hope that this
will make translation setup for projects easier,

Akihiro Motoki & Andreas Jaeger
-- 
 Andreas Jaeger aj@{suse.com,opensuse.org} Twitter: jaegerandi
  SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany
   GF: Felix Imendörffer, Jane Smithard, Graham Norton,
       HRB 21284 (AG Nürnberg)
    GPG fingerprint = 93A3 365E CE47 B889 DF7F FED1 389A 563C C272 A126




More information about the OpenStack-dev mailing list