Skip to content

Add new localization

4gray edited this page Feb 15, 2023 · 3 revisions

This page explains the process of adding a new language translation to the IPTVnator.

  1. Fork the repository
  2. Clone the repository to your local machine
  3. Create a new branch for the localization you will add
  4. Copy an existing JSON file in the src/assets/i18n folder and rename it to the locale name of the language you will translate the app into
  5. Translate all the values in the new JSON file
  6. Open the src/app/settings/language.enum.ts file and register the new language by adding a new line to the Languages enum
  7. Commit and your push your changes with a descriptive commit message
  8. Create a pull request from your branch to the original repository's branch

After creating a PR, after a couple of minutes, in the comments there will be a link to the deployed preview of the application, where you can check the translation.

Thank you for the contribution!

iptvnator-localization

Clone this wiki locally