mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-08 09:01:03 -08:00
3
Add new localization
4gray edited this page 2023-02-15 23:38:31 +01:00
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/i18nfolder 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.tsfile 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!
