-
Notifications
You must be signed in to change notification settings - Fork 6.3k
/
crowdin.yml
52 lines (50 loc) · 1.51 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
project_id_env: 'CROWDIN_PROJECT_ID'
api_token_env: 'CROWDIN_PERSONAL_TOKEN'
append_commit_message: false
# without this, crowdin will flatten all files
preserve_hierarchy: true
files:
- source: /apps/site/pages/en/**/*.md
translation: /apps/site/pages/%two_letters_code%/**/%original_file_name%
content_segmentation: 0
ignore:
- /apps/site/pages/en/blog/**/*.md
- /apps/site/pages/en/learn/**/*.md
- /apps/site/pages/en/download/index.md
- /apps/site/pages/en/download/current.md
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
- source: /apps/site/pages/en/**/*.mdx
translation: /apps/site/pages/%two_letters_code%/**/%original_file_name%
content_segmentation: 0
ignore:
- /apps/site/pages/en/blog/**/*.mdx
- /apps/site/pages/en/learn/**/*.mdx
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
- source: /apps/site/snippets/en/**/*.bash
translation: /apps/site/snippets/%two_letters_code%/**/%original_file_name%
content_segmentation: 0
type: txt
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw
- source: /packages/i18n/locales/en.json
translation: /packages/i18n/locales/%two_letters_code%.json
languages_mapping:
two_letters_code:
es-ES: es
pt-BR: pt-br
zh-CN: zh-cn
zh-TW: zh-tw