Add doc on how to add a new language to peertube
authorChocobozzz <me@florianbigard.com>
Tue, 14 May 2019 08:21:33 +0000 (10:21 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 14 May 2019 08:21:33 +0000 (10:21 +0200)
support/doc/development/localization.md

index 97e9e2c51391e1396a4946ba5b50a3cc41938e96..1664532fe0af61faa7149a1bc672a9ca077c21bc 100644 (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