aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-24 09:35:27 +0200
committerChocobozzz <me@florianbigard.com>2020-08-24 09:35:27 +0200
commit49a56c72031802addffcaa8d6c374720d17e4d14 (patch)
treefc7738d9f42edbb6f5550951b2f8c47ee4710226 /support
parent1e7eb457eda647b4fa22a0ae8e59c0a618f662f8 (diff)
downloadPeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.tar.gz
PeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.tar.zst
PeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.zip
Use update i18n command instead of generate
Diffstat (limited to 'support')
-rw-r--r--support/doc/development/localization.md4
1 files changed, 1 insertions, 3 deletions
diff --git a/support/doc/development/localization.md b/support/doc/development/localization.md
index 626c0ff9f..3d09bbecb 100644
--- a/support/doc/development/localization.md
+++ b/support/doc/development/localization.md
@@ -8,10 +8,8 @@ Source files are in `client/src/locale` and translated files merged from [Weblat
8Will generate XLIFF base files for Angular (`angular.xlf`) and JSON files for the player (`player.en-US.json`) and the server (`server.en-US.json`). 8Will generate XLIFF base files for Angular (`angular.xlf`) and JSON files for the player (`player.en-US.json`) and the server (`server.en-US.json`).
9Then, it will merge new translation keys into localized Angular files (`angular.fr-FR.xlf` etc). 9Then, it will merge new translation keys into localized Angular files (`angular.fr-FR.xlf` etc).
10 10
11**Only generate new translations after a Weblate pull to avoid conflicts**
12
13``` 11```
14$ npm run i18n:generate 12$ npm run i18n:update
15``` 13```
16 14
17 15