forked from EventFahrplan/EventFahrplan
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yml
54 lines (51 loc) · 1.32 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# Usage example:
# crowdin download -v -l es-ES -i PROJECT_ID -T API_TOKEN
# crowdin upload translations -v -l es-ES -i PROJECT_ID -T API_TOKEN
# https://crowdin.github.io/crowdin-cli/
# Required by CLI
# Language codes: https://developer.crowdin.com/language-codes/
base_path: .
preserve_hierarchy: true
files:
- source: /app/src/main/res/values/preferences.xml
translation: /app/src/main/res/values-%android_code%/%original_file_name%
skip_untranslated_strings: true
languages_mapping:
android_code:
da: da
es-ES: es
fi: fi
fr: fr
it: it
ja: ja
lt: lt
nl: nl
pl: pl
pt-PT: pt
ru: ru
sv-SE: sv
tr: tr
- source: /app/src/main/res/values/strings.xml
translation: /app/src/main/res/values-%android_code%/%original_file_name%
skip_untranslated_strings: true
languages_mapping:
android_code:
da: da
es-ES: es
fi: fi
fr: fr
it: it
ja: ja
lt: lt
nl: nl
pl: pl
pt-PT: pt
ru: ru
sv-SE: sv
tr: tr
# GitHub integration
pull_request_title: Update translations via Crowdin.
pull_request_labels:
- Translation
commit_message: Update %language% translation (%original_file_name%).
append_commit_message: false