From: Chocobozzz Date: Tue, 14 May 2019 08:21:33 +0000 (+0200) Subject: Add doc on how to add a new language to peertube X-Git-Tag: v1.3.0-rc.1~4 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=2888c12b3b8ffe2306df2211efa0f7a12a1285bb;p=oweals%2Fpeertube.git Add doc on how to add a new language to peertube --- diff --git a/support/doc/development/localization.md b/support/doc/development/localization.md index 97e9e2c51..1664532fe 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