Add doc on how to add a new language to peertube

This commit is contained in:
Chocobozzz 2019-05-14 10:21:33 +02:00
parent 02ba613049
commit 2888c12b3b
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 7 additions and 0 deletions

View File

@ -31,3 +31,10 @@ Then, `iso639` files will be merged in `server` files (so we have only one JSON
```
$ zanata-cli pull
```
## Support a new language
* Add it to [/shared/models/i18n/i18n.ts](/shared/models/i18n/i18n.ts)
* Add it to [/scripts/build/client.sh](/scripts/build/client.sh)
* Pull using zanata (that will execute hooks to correctly generate files of this new language)
* Build the application and check the new language correctly works