From 2888c12b3b8ffe2306df2211efa0f7a12a1285bb Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 May 2019 10:21:33 +0200 Subject: [PATCH] Add doc on how to add a new language to peertube --- support/doc/development/localization.md | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.25.1