From 57a39b1aaa2262a67e4d5752d8e3607b281bf510 Mon Sep 17 00:00:00 2001 From: Rory Aronson Date: Mon, 14 Aug 2017 21:58:41 -0700 Subject: [PATCH] Add translation instructions back to README --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 4a2d7a0bcd..7ffc646890 100644 --- a/README.md +++ b/README.md @@ -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.