Commit graph

53 commits

Author SHA1 Message Date
Cori Hudson
2634e78806 fix: use correct name for Filipino 2022-09-09 11:26:14 -04:00
Cori Hudson
b6f145bb94 feat: add hausa language 2022-09-01 14:56:55 -04:00
Cori Hudson
8b1d25597f feat: add occitan language 2022-09-01 11:46:58 -04:00
Cori Hudson
af35fe0dbe feat: add esperanto language 2022-09-01 11:04:00 -04:00
Cori Hudson
01e29ea229 feat: add asturian language 2022-08-30 16:47:00 -04:00
Cori Hudson
ccae0fc838 feat: add filipino translations 2022-08-30 16:08:14 -04:00
Chris Garrity
2582e0e5a3 Add Aragonese, Bengali, and Western Frysian languages
Used `es` as the parent locale for Aragonese since it doesn't have locale data already defined.
2021-08-04 10:56:11 -04:00
Chris Garrity
e563259149 Refactor so it’s not a breaking change
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.)
2021-06-16 10:20:34 -04:00
Chris Garrity
cbf8defe97 Remove dependency on react-intl
* 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.
2021-06-15 08:56:03 -04:00
Christopher Willis-Ford
78e3bc33cc Rename 'Español' to 'Español (España)' 2021-06-14 13:34:27 -07:00
Christopher Willis-Ford
b11c0fe2ea add қазақша (Kazakh) 2021-06-11 14:06:25 -07:00
seotts
ac31c932e8 add 6 new languages (xh, tn, qu, or, nso, af) 2021-01-25 15:24:07 -05:00
Chris Garrity
bc89b00359 Fix Typo 2020-06-17 07:10:03 -04:00
Chris Garrity
fb6c65ca42 Adding Mongolian (mn) 2020-06-15 11:28:17 -04:00
Chris Garrity
3245f185a3 Add armenian and bump minor version 2020-05-11 14:23:22 -04:00
Chris Garrity
8d67ba322f Add Kurdish to supported languages. 2020-03-24 15:57:43 -04:00
Chris Garrity
e49a40f855 Add Haitian Creole to supported languages 2019-12-18 14:49:25 -05:00
Chris Garrity
ea17557b55 Correct Swahili name
correction from Marian M.
2019-10-08 07:38:05 -04:00
Chris Garrity
e946f08bb6 Fix language order
Initially placed near Korean `ko`,  but realized that Korean phonetically starts “ha..”
2019-10-07 18:27:05 -04:00
Chris Garrity
12f343ed75 Add swahili 2019-10-07 17:46:11 -04:00
Chris Garrity
e3022138ba Add Georgian
- [ ] 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
2019-07-24 09:14:38 -04:00
Chris Garrity
edcc8dabc5 Add Khmer language
- [ ] 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
2019-07-23 15:40:14 -04:00
Chris Garrity
10e9f99243 Removed commented out code 2019-05-09 14:59:05 -04:00
Chris Garrity
2949bb326b Add Rapa Nui and Uzbek 2019-05-09 10:48:02 -04:00
chrisgarrity
298f978deb Capitalize Belarusian in language menu
It should match other languages
2019-04-24 08:37:27 -04:00
chrisgarrity
bbbff8248a
Merge pull request #77 from chrisgarrity/add-belarusian
Add Belarusian
2019-04-17 15:48:38 -04:00
chrisgarrity
f83d8fd17c Add Belarusian 2019-04-17 13:51:08 -04:00
chrisgarrity
ec799e327a import māori locale-data
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.
2019-04-17 12:11:43 -04:00
chrisgarrity
89c681866c Fix capitalization of Bulgarian
Note from translator that Bulgarian was not using proper capitalization.
2019-03-28 09:37:27 +01:00
Ben Wheeler
1a3e6245e0 add persian and central kurdish 2019-02-06 17:09:23 -05:00
Ben Wheeler
4c9541b47d added pull request template, and note on where to find react-intl info 2019-01-18 12:33:24 -05:00
chrisgarrity
6c56414704 Add react-intl locale data for new languages. 2019-01-17 13:58:03 -05:00
chrisgarrity
324f606a19 Add fully reviewed languages
Adding Bulgarian, Latvian, Nynorsk, and Slovak.

Removing the obsolete `wwwLocales` export.
2019-01-16 09:45:13 -05:00
chrisgarrity
aa8d1365dc Add docs 2018-12-20 17:09:24 -05:00
chrisgarrity
a168c93c65 fix language order 2018-12-20 13:29:45 -05:00
chrisgarrity
1850e094a5 Pull out languages not yet reviewed 2018-12-20 11:40:44 -05:00
chrisgarrity
08a4ee0b60 Add isiZulu
It was completed earlier this month.
2018-12-13 09:07:56 -05:00
chrisgarrity
c286f62d69 Add scripts for automation
* 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
2018-11-25 18:05:44 -05:00
chrisgarrity
f4e938ab96 Add Croatian 2018-11-15 08:36:52 -05:00
chrisgarrity
329eb0eacd update supported languages and sync 2018-10-10 17:47:46 -04:00
Ben Wheeler
f236ad61e6 Added Amharic and Basque/Euskara, Transifex translation updates 2018-09-18 16:58:25 -04:00
chrisgarrity
75fa9f93e7
Merge pull request #39 from chrisgarrity/rtl-support
Add RTL support
2018-08-23 11:23:24 -04:00
chrisgarrity
0fa777e234 Add RTL support
- Maintain a list of RTL languages supported
- add `isRtl` method to check if a locale is RTL
- add icelandic to the menu and locale data.
2018-08-23 10:01:59 -04:00
chrisgarrity
f219e06ca0 Sync translations with Transifex
Add Latvian
2018-08-17 09:49:52 -04:00
chrisgarrity
a43f4c94e2 Sync translations from Transifex
Add islandic to the editor.
2018-08-10 09:25:02 -04:00
chrisgarrity
a9813026e4 Update supported languages
Add newly completely languages to the menu:
* Azerbaijani - was already importing locale as parent of Abkhaz, changed comment
* Hungarian, Pollish, Russian,
2018-07-19 09:31:11 -04:00
chrisgarrity
f0a9d33465 update supported languages
Additional languages for the preview menu
2018-07-12 13:43:00 -04:00
chrisgarrity
156ad3659d Update supported languages
Adding languages that are fully translated
2018-06-20 09:00:29 -04:00
chrisgarrity
73f9b8619e Refactor data exported for GUI
Create editor folder for all the editor components:
* blocks - from scratch-blocks
* extensions - from scratch-vm
* interface - from scratch-gui
* paint-editor - from scratch-paint.

Update the transifex config, initilaize with the english sources.

Export a combined editor-msgs.js in addition to individual files.

Renamed paint to paint-editor to match the name in transifex.
2018-05-21 09:42:53 -04:00
chrisgarrity
26e3bd064d Add www resources
Add scratch-www translation resources and include in the pubished package.
2018-03-13 11:46:37 -04:00