Commit graph

23 commits

Author SHA1 Message Date
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
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