forked from uccser/cs-unplugged
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcrowdin.yaml
61 lines (61 loc) · 1.49 KB
/
crowdin.yaml
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
55
56
57
58
59
60
61
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
project_identifier: cs-unplugged
preserve_hierarchy: true
files: [
{
source: csunplugged/locale/en/LC_MESSAGES/*.po,
translation: csunplugged/locale/%two_letters_code%/LC_MESSAGES/%original_file_name%,
languages_mapping": {
two_letters_code: {
zh-CN: zh_Hans,
zh-TW: zh_Hant,
en-UD: xx_LR,
}
}
},
{
source: csunplugged/topics/content/en/**/*.md,
translation: csunplugged/topics/content/%two_letters_code%/**/%original_file_name%,
languages_mapping": {
two_letters_code: {
zh-CN: zh_Hans,
zh-TW: zh_Hant,
en-UD: xx_LR,
}
}
},
{
source: csunplugged/topics/content/en/**/*.yaml,
translation: csunplugged/topics/content/%two_letters_code%/**/%original_file_name%,
languages_mapping": {
two_letters_code: {
zh-CN: zh_Hans,
zh-TW: zh_Hant,
en-UD: xx_LR,
}
}
},
{
source: csunplugged/resources/content/en/*.md,
translation: csunplugged/resources/content/%two_letters_code%/%original_file_name%,
languages_mapping": {
two_letters_code: {
zh-CN: zh_Hans,
zh-TW: zh_Hant,
en-UD: xx_LR,
}
}
},
{
source: subtitles/en/*.vtt,
translation: subtitles/%two_letters_code%/%original_file_name%,
languages_mapping": {
two_letters_code: {
zh-CN: zh_Hans,
zh-TW: zh_Hant,
en-UD: xx_LR,
}
}
},
]