This is a modified version of scratch-l10n with translations that aren't used by TurboWarp removed.
This repository also contains scripts that we use to maintain TurboWarp's translations. They assume you have a directory laid out with scratch-l10n
, scratch-gui
, turbowarp-desktop
, and packager
in the same parent folder.
Download all translations from Transifex:
npm run tw:pull
Upload scratch-gui to Transifex:
npm run tw:push
Publish minified scratch-l10n to npm:
npm run tw:publish
Transifex API token can either be stored in the TX_TOKEN
environment variable or the .tx_token
file (ignored by git).