-
Notifications
You must be signed in to change notification settings - Fork 16
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:
http://docs.transifex.com/api/ http://docs.transifex.com/client/
To get the latest translation files, run:
$ tx pull
# no need to worry about where the files should be put, 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.