-
-
Notifications
You must be signed in to change notification settings - Fork 437
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.
- Fork the repository
- Clone the repository to your local machine
- Create a new branch for the localization you will add
- 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 - Translate all the values in the new JSON file
- Open the
src/app/settings/language.enum.ts
file and register the new language by adding a new line to the Languages enum - Commit and your push your changes with a descriptive commit message
- 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!