Skip to content

Localization files

Xander Frangos edited this page Jun 11, 2020 · 3 revisions

To contribute to the localization of Twinkle Tray, there are two options:

Option 1: Weblate

Sign up and contribute to the Twinkle Tray Weblate project here.

Option 2: Edit localization files

  1. Modify (or create) the appropriate JSON file in src/localization for your language code (ex. Spanish is "es", Russian is "ru". A full list can be found here.)
  2. Copy the contents of default.json to the language file.
  3. Translate all string values.
  4. Open a pull request for the updated (or new) file.

All of this can be done through GitHub.com, so you don't have to download the Twinkle Tray repository if you don't want to.

If you're comfortable with running Node projects, you can run current code in the master branch to test your localization file. It'll show up in the Settings window, or auto-detect if your region in Windows is set to a country that speaks that language.