forked from betaflight/betaflight-configurator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yml
35 lines (31 loc) · 760 Bytes
/
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
# ID used by the upload action to Crowdin
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
#
# Files configuration
#
"preserve_hierarchy": true
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
"source" : "/locales/en/messages.json",
#
# where translations live
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
"translation" : "/locales/%two_letters_code%/%original_file_name%",
#
# Often software projects have custom names for locale directories. crowdin-cli allows you to map your own languages to be understandable by Crowdin.
#
"languages_mapping" : {
"two_letters_code" : {
"pt-BR" : "pt_BR",
"zh-CN" : "zh_CN",
"zh-TW" : "zh_TW"
}
}
}
]