-
Notifications
You must be signed in to change notification settings - Fork 189
Expand file tree
/
Copy pathcrowdin.yml
More file actions
48 lines (44 loc) · 1.01 KB
/
crowdin.yml
File metadata and controls
48 lines (44 loc) · 1.01 KB
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
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: "."
preserve_hierarchy: true
export_languages:
- de
- da
- fr
- pt-PT
- es-ES
- tr
files:
- source: /docs/**/*.mdx
translation: /docs/%locale%/**/%original_file_name%
languages_mapping:
locale: &locale_mapping
de: de
da: da
fr: fr
pt-PT: pt
es-ES: es
tr: tr
ignore:
- /docs/de/**/*.mdx
- /docs/da/**/*.mdx
- /docs/fr/**/*.mdx
- /docs/pt/**/*.mdx
- /docs/es/**/*.mdx
- /docs/tr/**/*.mdx
- source: /i18n/en.json
translation: /i18n/%locale%.json
languages_mapping:
locale: *locale_mapping
- source: /includes/*.mdx
translation: /includes/%locale%/%original_file_name%
languages_mapping:
locale: *locale_mapping
ignore:
- /includes/de/**/*.mdx
- /includes/da/**/*.mdx
- /includes/fr/**/*.mdx
- /includes/pt/**/*.mdx
- /includes/es/**/*.mdx
- /includes/tr/**/*.mdx