about summary refs log tree commit diff
path: root/crowdin.yml
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2025-02-06 12:46:10 -0800
committerGitHub <noreply@github.com>2025-02-06 12:46:10 -0800
commitb12d39b4cff0fe1b91fb16496c3fea1ed22de5cf (patch)
tree7486412af2ce67f2c37373de66d035875a0b24b6 /crowdin.yml
parentbe1285ea36124c5db3e2b270fd28b97900fa1bd9 (diff)
downloadvoidsky-b12d39b4cff0fe1b91fb16496c3fea1ed22de5cf.tar.zst
Updated i18n process (#7684)
* Update documentation

* Update crowdin.yml for cli usage

* Add more info about crowdin cli setup

* Add intl:pull and intl:push commands
Diffstat (limited to 'crowdin.yml')
-rw-r--r--crowdin.yml23
1 files changed, 20 insertions, 3 deletions
diff --git a/crowdin.yml b/crowdin.yml
index cd27c7eba..b5ed92f28 100644
--- a/crowdin.yml
+++ b/crowdin.yml
@@ -1,3 +1,20 @@
-files:
-  - source: /src/locale/locales/en/messages.po
-    translation: /src/locale/locales/%two_letters_code%/messages.po
+{
+  "project_id": "664276",
+  "base_path": ".",
+  "preserve_hierarchy": true,
+  "files": [
+    {
+      "source": "/src/locale/locales/en/messages.po",
+      "translation": "/src/locale/locales/%two_letters_code%/messages.po",
+      "languages_mapping": {
+          "two_letters_code": {
+            "pt-BR": "pt-BR",
+            "en-GB": "en-GB",
+            "zh-CN": "zh-CN",
+            "zh-TW": "zh-TW",
+            "zh-HK": "zh-HK"
+          }
+      }
+    }
+  ]
+}
\ No newline at end of file