clarified country code issue

This commit is contained in:
Ben Wheeler 2019-02-11 14:29:40 -05:00
parent b3dda0b9a7
commit 7b7e9435eb

View file

@ -27,11 +27,11 @@ There are two situations in which we create manual PRs to update translations:
* Add entry in `rtlLocales`
* [ ] Check if the new language uses a country code
* Check [https://www.transifex.com/explore/languages](https://www.transifex.com/explore/languages); compare to the ISO code on the language's Wikipedia page. If they are different:
* Check [https://www.transifex.com/explore/languages](https://www.transifex.com/explore/languages). If the language has a country code:
* [ ] Edit `src/supported-locales.js`:
* Add new entry to `localeMap`. Format is `'<browser locale string>': '<Transifex locale string/ISO standard>'`
* Add new entry to `localeMap`. Format is `'<W3C HTML browser locale string>': '<Transifex ICU locale string>'`
* [ ] Edit `.tx/config`:
* Add to the `lang_map` list. Format is `<Transifex locale string/ISO standard>:<browser locale string>`
* Add to the `lang_map` list. Format is `<Transifex ICU locale string>:<W3C HTML browser locale string>`
* NOTE: we are moving away from using the `tx` cli; `.tx/config` will eventually be deprecated
* [ ] Edit `src/index.js`: