projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
02ba613
)
Add doc on how to add a new language to peertube
author
Chocobozzz
<me@florianbigard.com>
Tue, 14 May 2019 08:21:33 +0000
(10:21 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Tue, 14 May 2019 08:21:33 +0000
(10:21 +0200)
support/doc/development/localization.md
patch
|
blob
|
history
diff --git
a/support/doc/development/localization.md
b/support/doc/development/localization.md
index 97e9e2c51391e1396a4946ba5b50a3cc41938e96..1664532fe0af61faa7149a1bc672a9ca077c21bc 100644
(file)
--- 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