aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
Diffstat (limited to 'support')
-rw-r--r--support/doc/development/localization.md5
1 files changed, 3 insertions, 2 deletions
diff --git a/support/doc/development/localization.md b/support/doc/development/localization.md
index 3cf797516..97e9e2c51 100644
--- a/support/doc/development/localization.md
+++ b/support/doc/development/localization.md
@@ -8,7 +8,7 @@ Will generate XLIFF files for Angular and escape inner elements in `source` tag
8 8
9This script will create `player_en_US.xml` XLIFF file using custom strings (VideoJS plugins) and strings from `videojs_en_US.json` file. 9This script will create `player_en_US.xml` XLIFF file using custom strings (VideoJS plugins) and strings from `videojs_en_US.json` file.
10 10
11It will also create `server_en_US.xml` XLIFF file using custom strings (defined inside the script, we did not find a way to extract them from TypeScript server files). 11It will also create `server_en_US.xml` and `iso639_en_US.xml` XLIFF file using server strings and custom strings (defined inside the script, we did not find a way to extract them from TypeScript server files).
12 12
13``` 13```
14$ npm run i18n:generate 14$ npm run i18n:generate
@@ -25,7 +25,8 @@ $ zanata-cli push
25## Pull translation 25## Pull translation
26 26
27Pull XLIFF files from Zanata, and unescape them (so we retrieve inner elements in `source` tag, used by Angular). 27Pull XLIFF files from Zanata, and unescape them (so we retrieve inner elements in `source` tag, used by Angular).
28A hook converts `player` and `server` translation files to JSON (needed by Video.JS, and our application to have efficient runtime translation). 28A hook converts `player` and `server`, `iso639` translation files to JSON (needed by Video.JS, and our application to have efficient runtime translation).
29Then, `iso639` files will be merged in `server` files (so we have only one JSON file to serve server translations).
29 30
30``` 31```
31$ zanata-cli pull 32$ zanata-cli pull