Skip to content

Translating

Mrcomputer1 edited this page Jul 3, 2022 · 1 revision

Instructions to making new translations.

  1. Copy dist/languages/en-US.json to a file called <language code>.json. (Language code information: https://en.wikipedia.org/wiki/IETF_language_tag)
  2. Translate the strings in the file.
  3. Optional: Add an entry to SUPPORTED_LANGUAGES in src/modals/SettingsModal.svelte. - If you choose not to do this, I will do it for you.
  4. Pull request your changes.

What happens when new strings are added?

  • I will post a message in issue #2.
  • The strings will be added to the Outdated Strings page.
  • The English (Australia) strings will be used until a translation is made.

What happens when strings are edited?

  • If the old string is usable, it will remain untouched and might be added to the Outdated Strings page.
  • If the old string is unusable, it will be treated like a new string.