Merge pull request #146 from travis-ci/rm_add_i18n_info_to_readme
Added info for i18n management to readme
This commit is contained in:
commit
86d8ebbdcb
20
README.md
20
README.md
|
@ -36,4 +36,22 @@ To run the Ruby specs, run rspec against the spec/ directory:
|
||||||
|
|
||||||
bundle exec rspec spec/
|
bundle exec rspec spec/
|
||||||
|
|
||||||
To run the Jasmine specs, open the spec page: [localhost:5000/spec.html](http://localhost:5000/spec.html)
|
To run the Jasmine specs, open the spec page: [localhost:5000/spec.html](http://localhost:5000/spec.html)
|
||||||
|
|
||||||
|
### i18n
|
||||||
|
|
||||||
|
Localization for travis-web is managed via [localeapp](http://localeapp.com).
|
||||||
|
If you are interested in improving the existing localizations or adding
|
||||||
|
a new locale, please contact us on irc (#travis) and we will set you up.
|
||||||
|
|
||||||
|
Please do **not** edit the YAML files directly.
|
||||||
|
|
||||||
|
Localization data can be synced with the following rake task:
|
||||||
|
|
||||||
|
bundle exec localeapp:update
|
||||||
|
|
||||||
|
This will publish any new keys in en.yml, as well as any missing keys
|
||||||
|
from your handlebars templates and pull down the latest localizations.
|
||||||
|
|
||||||
|
*note*: You will need to have the localeapp api key exported to
|
||||||
|
LOCALEAPP_API_KEY
|
||||||
|
|
Loading…
Reference in New Issue
Block a user