-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
How to add a new language to NewPipe
Tobias Groza edited this page Jan 10, 2021
·
4 revisions
NewPipe is translated with Weblate.
- Login to Weblate (you can use your GitHub account).
- Add a new language with tool -> start new translation.
- Translate NewPipe.
The language selector is available via Settings -> Content -> App language
. It allows to change NewPipe's language without changing the system's language (it's the default Android behaviour).
- Add the language code in the language code array in this file. You must respect the alphabetic order. You can find the language code with Weblate: click on a language to translate, and the language code is in the last part of the URL. For example, English is
https://hosted.weblate.org/projects/newpipe/strings/en
, and English language code isen
. - Add the language name in the language name array in this file. It must be placed at the same index as language code. For instance,
en
is the 13th on the language code array, hence it's the 13th on the language name array. - Open a pull request on GitHub.
If you have problems with this part, don't hesitate to contact us.
The primary docs are found on the project's website