Skip to content

Add new translations

Thuy Le edited this page Jun 16, 2016 · 14 revisions

We use the transifex client to get the latest translations.

Learn how to get started with the transifex client:

Before you pull the translation files from transifex, please check and config the file .transifexrc that should be located in your home folder. Learn more here.

To get the latest translation files, run:

$ tx pull 

# don't worry about where to put the files, it will be done automatically

Check for all rake tasks with:

$ bundle exec rake -T

Then run:

bundle exec rake i18n:js:export 

# generates and exports translations to JS file(s) - no further precompiling needed

That's it!

Important:

Don't use rake generate:i18n_js anymore as this is legacy code that has to be removed in the future.