Translation

Igor Milhit edited this page Oct 2, 2018 · 2 revisions

Translations

In each modules, do:

Depending on your local installation, you may prefix the following commands with pipenv run.

  1. Warn the translators, if needed.
  2. Pull the modifications from transifex: tx pull.
  3. Update catalog: python setup.py update_catalog
  4. Extract message: python setup.py extract_messages
  5. Update catalog: python setup.py update_catalog
  6. Compile the catalog: python setup.py compile_catalog
  7. Push the extracted message: tx push -st (-s for source, -t for translations)
  8. Commit the changes

For angular modules, the tools and workflow are different [TODO].

:warning: Don't forget to clean the fuzzy messages before tx push. Below an handy command to do that:

find rero_ils/translations/ -type f -print0 | xargs -0 sed -i 's/\#, fuzzy//g'

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.