Add new index.js that re-exports the locale-data and supported-locales so that dependents of scratch-l10n can continue to work without changing. (With corresponding changes in webpack.config.js and package.json.)
* Separate locale-data from supported languages, and export as a separate entry in webpack
* copy react-intl locale-data locally So we can continue to support dependent packages with locale-data until we switch to polyfils. Don’t lint these files with our rules.
- [ ] add ‘ka’ to supported languages
- [ ] add ‘ka’ to `locale-data` from `react-intl`
- [ ] bump minor version to indicate new language
- [ ] sync translations for new langage
- [ ] Add Khmer (km) to the menu as ‘ភាសាខ្មែរ’ (alphabetizesd as ‘phi…’ from wikipedia: natively ភាសាខ្មែរ phiəsaa khmae Khmer pronunciation: [pʰiə.ˈsaː kʰmae])
- [ ] import km locale-data
- [ ] Update translations for editor and www
as of react-intl 2.8.0 māori (mi) locale data is included in `react-intl/locale-data`. Use that instead of a custom locale.
Also remove unnecessary `es-419` custom locale, `es-419` is already included in the default `es.js` locale-data.
* bumped minor version
* added localeMap for converting between transifex locales and the ones used by Scratch (e.g., pt-br - pt_BR)
* using the transifex node package to automatically sync translations
* added scripts:
* sync_tx_src: uploads an en.json source file, for use by client packages
* sync_tx_translations: downloads gui translations, used by this repo, flattens Chrome i18n json into plain key-value json.
* sync_tx_blocks: same as above, but blocks need slightly different handling
* validate_translations: check the translation json files for basic translation errors
* tx_util - methods shared by sync and validate
* simplified build-data because jsons have already been flattened
* added new npm tasks
Add newly completely languages to the menu:
* Azerbaijani - was already importing locale as parent of Abkhaz, changed comment
* Hungarian, Pollish, Russian,