mirror of
https://github.com/scratchfoundation/scratch-l10n.git
synced 2024-12-22 05:32:34 -05:00
clarified country code issue
This commit is contained in:
parent
b3dda0b9a7
commit
7b7e9435eb
1 changed files with 3 additions and 3 deletions
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
6
.github/PULL_REQUEST_TEMPLATE.md
vendored
|
@ -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`:
|
||||
|
|
Loading…
Reference in a new issue