-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yaml
26 lines (24 loc) · 820 Bytes
/
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
project_id_env: CROWDIN_SUBSTRATEDEVHUB_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: "./"
preserve_hierarchy: true
files:
-
source: '/docs/**/*.md'
translation: '/website/translated_docs/%locale%/**/%original_file_name%'
languages_mapping: &anchor
locale:
'es-ES': 'es-ES'
'ja': 'ja'
'zh-CN': 'zh-CN'
'zh-HK': 'zh-HK'
-
source: '/website/i18n/en.json'
translation: '/website/i18n/%locale%.json'
languages_mapping: *anchor
# note: Uncomment the following if we have `website/versioned_docs`. Otherwise, returns
# error when running `crowdin upload sources` and fail the CI.
# -
# source: '/website/versioned_docs/**/*.md'
# translation: '/website/translated_docs/%locale%/**/%original_file_name%'
# languages_mapping: *anchor