diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-24 09:35:27 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-24 09:35:27 +0200 |
commit | 49a56c72031802addffcaa8d6c374720d17e4d14 (patch) | |
tree | fc7738d9f42edbb6f5550951b2f8c47ee4710226 /support/doc/development/localization.md | |
parent | 1e7eb457eda647b4fa22a0ae8e59c0a618f662f8 (diff) | |
download | PeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.tar.gz PeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.tar.zst PeerTube-49a56c72031802addffcaa8d6c374720d17e4d14.zip |
Use update i18n command instead of generate
Diffstat (limited to 'support/doc/development/localization.md')
-rw-r--r-- | support/doc/development/localization.md | 4 |
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 | |||
8 | Will 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`). | 8 | Will 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`). |
9 | Then, it will merge new translation keys into localized Angular files (`angular.fr-FR.xlf` etc). | 9 | Then, 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 | ||