diff options
author | Chocobozzz <me@florianbigard.com> | 2019-05-14 10:21:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-05-14 10:21:33 +0200 |
commit | 2888c12b3b8ffe2306df2211efa0f7a12a1285bb (patch) | |
tree | 7e9889af8d8ed4782f3df1a6370e6d85c2c8a70a /support/doc | |
parent | 02ba613049c0ebd082588f0845c541342dad8125 (diff) | |
download | PeerTube-2888c12b3b8ffe2306df2211efa0f7a12a1285bb.tar.gz PeerTube-2888c12b3b8ffe2306df2211efa0f7a12a1285bb.tar.zst PeerTube-2888c12b3b8ffe2306df2211efa0f7a12a1285bb.zip |
Add doc on how to add a new language to peertube
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/development/localization.md | 7 |
1 files changed, 7 insertions, 0 deletions
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 | |||
31 | ``` | 31 | ``` |
32 | $ zanata-cli pull | 32 | $ zanata-cli pull |
33 | ``` | 33 | ``` |
34 | |||
35 | ## Support a new language | ||
36 | |||
37 | * Add it to [/shared/models/i18n/i18n.ts](/shared/models/i18n/i18n.ts) | ||
38 | * Add it to [/scripts/build/client.sh](/scripts/build/client.sh) | ||
39 | * Pull using zanata (that will execute hooks to correctly generate files of this new language) | ||
40 | * Build the application and check the new language correctly works | ||