diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2024-08-18 13:40:12 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-18 08:10:12 +0000 |
commit | 71161e20f8610b989e7a0d803249e17362e10ddc (patch) | |
tree | df45bc53ac65e3ec00739af3a7a93d6348f03032 /crowdin.yml | |
parent | 919f708df28c98a8a124554717710e149b138a1b (diff) |
fix: rework Crowdin integration (#3175)
* chore: set up Crowdin configuration
* fix(app): sync strings from Crowdin
Closes #3174
* fix(ci): use crowdin/github-action instead of homebrew setup
* fix(build): remove obsolete Crowdin plugin
Diffstat (limited to 'crowdin.yml')
-rw-r--r-- | crowdin.yml | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 00000000..116a2194 --- /dev/null +++ b/crowdin.yml @@ -0,0 +1,90 @@ +"api_token_env": "CROWDIN_PERSONAL_TOKEN" +"project_id_env": "CROWDIN_PROJECT_ID" +"preserve_hierarchy": true +"files": [ + { + "source": "/app/src/main/res/values/strings.xml", + "dest": "/main_strings.xml", + "translation": "/app/src/main/res/values-%android_code%/strings.xml", + "languages_mapping": &stringmapping { + "android_code": { + "ar": "ar", + "am": "am", + "hy-AM": "hy-rAM", + "az": "az", + "be": "be", + "bn": "bn-rBD", + "bg": "bg", + "ca": "ca", + "cs": "cs", + "da": "da", + "de": "de", + "el": "el", + "es-ES": "es", + "es-AR": "es-rAR", + "es-MX": "es-rMX", + "es-VE": "es-rVE", + "et": "et-rEE", + "eu": "eu-rES", + "fa": "fa", + "fil": "fil", + "fi": "fi", + "fr": "fr", + "gl": "gl-rES", + "hr": "hr", + "hu": "hu", + "is": "is", + "id": "in", + "it": "it", + "he": "iw", + "ja": "ja", + "ka": "ka-rGE", + "km": "km-rKH", + "kn": "kn-rIN", + "ko": "ko", + "ky": "ky-rKG", + "lt": "lt", + "lv": "lv", + "lo": "lo-rLA", + "ms": "ms", + "ml-IN": "ml-rIN", + "mn": "mn-rMN", + "mr": "mr-rIN", + "my": "my-rMM", + "ne-NP": "ne-rNP", + "nl": "nl", + "no": "nb", + "pl": "pl", + "pt-PT": "pt", + "pt-BR": "pt-rBR", + "ro": "ro", + "ru": "ru", + "rm-CH": "rm", + "si-LK": "si-rLK", + "sk": "sk", + "sl": "sl", + "sr": "sr", + "sv-SE": "sv", + "sw": "sw", + "th": "th", + "ta": "ta-rIN", + "te": "te-rIN", + "tr": "tr", + "uk": "uk", + "ur-IN": "ur-rIN", + "uz": "uz", + "vi": "vi", + "zh-CN": "zh-rCN", + "zh-HK": "zh-rHK", + "zh-TW": "zh-rTW", + "zu": "zu" + } + } + }, + { + "source": "/app/src/nonFree/res/values/strings.xml", + "dest": "/nonFree_strings.xml", + "translation": "/app/src/nonFree/res/values-%android_code%/strings.xml", + "languages_mapping": *stringmapping + } +] |