Skip to content

Translations Guide

ZYROUGE edited this page Jun 29, 2023 · 4 revisions

Overview

Symphony uses Phrasey for managing translations.

All the translation files reside inside the i18n folder.

Note to translation contributors

New/existing translation contributors are encouraged to update the translations regularly. This helps the users of using corresponding language to continue using the app comfortably. English would be used in missing translations.

Adding a new language

  1. Create a new file inside the i18n folder. The file name must be <locale_code>.toml.
  2. Use the default language translation (i18n/en.toml) as a base to translate.

Updating a language file

  1. New keys are always and must be added at the end.
  2. Add them to the required language file.
  3. Check if the summary produces 100% for the respective language.

Good Practices

  • Make sure you indent TOML files properly.
  • Translation schema can be found at .phrasey/schema.toml.
Clone this wiki locally