Commit graph

42 commits

Author SHA1 Message Date
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
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
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
Lakhdar Benzahia
c48f6681f8
Update "العربية" to "الْعَرَبِيَّة"
Rewrite  "العربية" word with diacritics
2017-11-13 16:59:24 +01:00
chrisgarrity
0cb13cbaee Add scratch-paint
Breaking change - bumped major version to 2.

Restructured to support multiple components. Package default is just localeData for currently supported locales including the name for each language.

messages for each component are exported as separate files in locales. Clients of l10n will need to import messages for each of the compents used and combine them.
2017-10-17 13:28:24 -04:00
chrisgarrity
4a9cdc7f4a L10n packaging (#1)
* Initial version of scratch-l10n package
2017-09-21 11:54:41 -04:00