Skip to content

Commit

Permalink
Add translation instructions back to README
Browse files Browse the repository at this point in the history
  • Loading branch information
roryaronson committed Aug 15, 2017
1 parent 89e9200 commit 57a39b1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Expand Up @@ -130,3 +130,12 @@ $.ajax({
# Want to Help?

[Low Hanging Fruit](https://github.com/FarmBot/Farmbot-Web-App/search?utf8=%E2%9C%93&q=todo). [Raise an issue](https://github.com/FarmBot/Farmbot-Web-App/issues/new?title=Question%20about%20a%20TODO) if you have any questions.

## Translating the web app into your language

Thanks for your interest in internationalizing the FarmBot web app! To add translations:

-1. Fork this repo
-2. Create a `yy.js` file in ``/public/app-resources/languages/`` where `yy` is your language's [language code](http://www.science.co.il/Language/Locale-codes.php). Eg: `ru` for Russian. If your language already has a file, then you can skip this step.
-3. Search the application for calls to `t()`. Any file that imports `from "i18next"` will have strings that require translation.
-4. When you have updated or added new translations, commit/push your changes and submit a pull request.

0 comments on commit 57a39b1

Please sign in to comment.