diff options
author | Tomás Touceda <chiiph@leap.se> | 2013-10-17 11:27:49 -0300 |
---|---|---|
committer | Tomás Touceda <chiiph@leap.se> | 2013-10-17 11:27:49 -0300 |
commit | 9f7506cd11f6b2625f57d1effd988271e898bf05 (patch) | |
tree | 1a9ab8c518f1d71cc87ab1800649ffd9a62ac8d6 /docs/dev | |
parent | 0c2567096393f9a8fa86e0e7d8460ccca15756d7 (diff) | |
parent | a057c79a7954be6b6d78e02e009e2d717010a8b7 (diff) |
Merge remote-tracking branch 'ivan/feature/3925_automate-i18n' into develop
Diffstat (limited to 'docs/dev')
-rw-r--r-- | docs/dev/internationalization.rst | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/docs/dev/internationalization.rst b/docs/dev/internationalization.rst index f9f522b9..c0f208de 100644 --- a/docs/dev/internationalization.rst +++ b/docs/dev/internationalization.rst @@ -65,19 +65,20 @@ If you do not already have it, install the ``transifex-client`` from the cheese You can learn more about the transifex-client `here <http://help.transifex.com/features/client/index.html>`_. -**1.** Add any new source files to the project file, ``data/bitmask.pro``. *We should automate this with some templating, it's tedious.* - -**2.** Update the source .ts file ``data/ts/en_US.ts``.:: +**1.** Update the source .ts file ``data/ts/en_US.ts``.:: $ make translations -**3.** Push source .ts file to transifex:: +It automatically adds any new source files and forms to the project file, ``data/bitmask.pro``. +If there is a file to be ignored in the translations you need to edit the ``data/make_project_file.py`` to set the excludes. + +**2.** Push source .ts file to transifex:: $ tx push -s -**4.** Let the translation fairies do their work... +**3.** Let the translation fairies do their work... -**5.** *Et voila!* Get updated .ts files for each language from ``Transifex``. For instance, to pull updated spanish translations:: +**4.** *Et voila!* Get updated .ts files for each language from ``Transifex``. For instance, to pull updated spanish translations:: $ tx pull -l es Pulling new translations for resource bitmask.bitmask (source: data/ts/en_US.ts) |