-
Notifications
You must be signed in to change notification settings - Fork 4
/
crowdin.yml
49 lines (44 loc) · 1.33 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
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: ""
# base_url: "https://api.crowdin.com"
preserve_hierarchy: true
files:
- source: "/hsreplaynet/django/en/LC_MESSAGES/*.po"
translation: "/hsreplaynet/django/%locale_with_underscore%/LC_MESSAGES/%original_file_name%"
languages_mapping:
locale_with_underscore:
zh-CN: "zh_Hans"
zh-TW: "zh_Hant"
- source: "/archetypes/en/LC_MESSAGES/*.po"
translation: "/archetypes/%locale_with_underscore%/LC_MESSAGES/%original_file_name%"
languages_mapping:
locale_with_underscore:
zh-CN: "zh_Hans"
zh-TW: "zh_Hant"
- source: "/compositions/en/LC_MESSAGES/*.po"
translation: "/compositions/%locale_with_underscore%/LC_MESSAGES/%original_file_name%"
languages_mapping:
locale_with_underscore:
zh-CN: "zh_Hans"
zh-TW: "zh_Hant"
- source: "/hsreplaynet/frontend/en/*.json"
translation: "/hsreplaynet/frontend/%locale%/%original_file_name%"
languages_mapping:
locale:
en: "en"
en-GB: "en-gb"
fr: "fr"
de: "de"
ko: "ko"
es-ES: "es"
es-MX: "es-mx"
ru: "ru"
zh-TW: "zh-hant"
zh-CN: "zh-hans"
it: "it"
pl: "pl"
pt-BR: "pt-br"
pt-PT: "pt"
ja: "ja"
th: "th"