Skip to content
This repository has been archived by the owner on Aug 12, 2022. It is now read-only.

Localization

chrisgarrity edited this page Sep 1, 2016 · 2 revisions

ScratchJr Translations

ScratchJr uses Transifex for translation. To update the strings you need to have the Transifex Client installed. Further documentation of the client commands is available at http://docs.transifex.com/client/. You will need to register with Transifex (free). Then follow the directions to initialize and configure the client.

Updating Localization

All localizable strings should be in editions/free/en.json.

New strings to translate:

  • Run tx push -s to push updates to transifex

Update Translations:

  • Run tx pull -r scratchjr.enjson --mode=developer to pull all new translations
  • Run tx pull -r scratchjr.enjson --mode=reviewed to pull only reviewed translations

Adding a new language

Update ...src/utils/Localization.js to require the libraries corresponding to the new language code.

Edit src/settings.json to include the new language name and language code in the supportedLocales setting.

  • Run tx pull -f -l {language-code} to pull the new translation files into the source tree from Transifex.
Clone this wiki locally