Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add doc on how to add a new language to peertube

Chocobozzz2888c12b3b8f
diff --git a/support/doc/development/localization.md b/support/doc/development/localization.md
index 97e9e2c513..1664532fe0 100644
--- a/support/doc/development/localization.md
+++ b/support/doc/development/localization.md
@@ -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