-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
crowdin.yml
34 lines (31 loc) · 1.03 KB
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
project_id_env: "CROWDIN_PROJECT_ID"
api_token_env: "CROWDIN_PERSONAL_TOKEN"
preserve_hierarchy: true
files:
- source: "/app/src/main/res/values/strings.xml"
translation: "/app/src/main/res/values-%android_code%/%original_file_name%"
update_option: update_as_unapproved
skip_untranslated_files: true
# https://developer.crowdin.com/language-codes/
languages_mapping:
android_code:
zh-CN: "zh"
es-ES: "es"
pt-PT: "pt"
- source: "/app/src/main/res/values/languages.xml"
translation: "/app/src/main/res/values-%android_code%/%original_file_name%"
skip_untranslated_files: true
languages_mapping:
android_code:
zh-CN: "zh"
es-ES: "es"
pt-PT: "pt"
# AndroidNext
- source: "/eggs/AndroidNext/src/main/res/values/strings.xml"
translation: "/eggs/AndroidNext/src/main/res/values-%android_code%/%original_file_name%"
skip_untranslated_files: true
languages_mapping:
android_code:
zh-CN: "zh"
es-ES: "es"
pt-PT: "pt"