Skip to content

Latest commit

 

History

History
18 lines (13 loc) · 741 Bytes

File metadata and controls

18 lines (13 loc) · 741 Bytes

Contributing

For licensing reasons, contributions are only accepted from Fiserv employees.

Adding a language

Tip

Github Copilot auto-complete works really well on the translation files!

For XX is the 2-letter ISO 639 language code.

  1. Create a XX.json file in the messages directory.
  2. Add the translations for everything in messages/XX.json.
  3. In every other language translation, add a settings_locale_XX entry. Keep the JSON sorted.
  4. In app/i18n.ts:
    1. Import the XX.json file.
    2. Add the language code to the locales array.
    3. Add the imported json variable to the resources map in the call to init().