forked from reactjs/react.dev
-
Notifications
You must be signed in to change notification settings - Fork 3
/
crowdin.yaml
101 lines (100 loc) · 2.64 KB
/
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
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
project_identifier_env: CROWDIN_REACT_PROJECT_ID
api_key_env: CROWDIN_REACT_API_KEY
base_path: "./"
preserve_hierarchy: true
files:
-
source: '/docs/*.md'
translation: '/docs/i18n/%locale%/%original_file_name%'
languages_mapping: &anchor
locale:
'af': 'af'
'ar': 'ar'
'bs-BA': 'bs-BA'
'ca': 'ca'
'cs': 'cs'
'da': 'da'
'de': 'de'
'el': 'el'
'es-ES': 'es-ES'
'fa': 'fa-IR'
'fi': 'fi'
'fr': 'fr'
'he': 'he'
'hu': 'hu'
'id': 'id-ID'
'it': 'it'
'ja': 'ja'
'ko': 'ko'
'mr': 'mr-IN'
'nl': 'nl'
'no': 'no-NO'
'pl': 'pl'
'pt-BR': 'pt-BR'
'pt-PT': 'pt-PT'
'ro': 'ro'
'ru': 'ru'
'sk': 'sk-SK'
'sr': 'sr'
'sv-SE': 'sv-SE'
'tr': 'tr'
'uk': 'uk'
'vi': 'vi'
'zh-CN': 'zh-Hans'
'zh-TW': 'zh-Hant'
-
source: '/tutorial/*.md'
translation: '/tutorial/%locale%/%original_file_name%'
languages_mapping: *anchor
-
source: '/community/*.md'
translation: '/community/%locale%/%original_file_name%'
ignore:
- '/community/complementary-tools.it-IT.md'
- '/community/complementary-tools.ko-KR.md'
- '/community/complementary-tools.zh-CN.md'
- '/community/conferences.it-IT.md'
- '/community/conferences.ko-KR.md'
- '/community/conferences.zh-CN.md'
- '/community/examples.it-IT.md'
- '/community/examples.ko-KR.md'
- '/community/examples.zh-CN.md'
- '/community/videos.it-IT.md'
- '/community/videos.ko-KR.md'
- '/community/videos.zh-CN.md'
languages_mapping: *anchor
-
source: '/contributing/*.md'
translation: '/contributing/%locale%/%original_file_name%'
languages_mapping: *anchor
-
source: '/_data/*.yml'
translation: '/_data/%locale%/%original_file_name%'
languages_mapping: *anchor
ignore:
- '/_data/acknowledgements.yml'
- '/_data/authors.md'
-
source: '/warnings/*.md'
translation: '/warnings/%locale%/%original_file_name%'
languages_mapping: *anchor
-
source: '/index.md'
translation: '/%locale%/index.md'
languages_mapping: *anchor
-
source: '/README.md'
translation: '/%locale%/README.md'
languages_mapping: *anchor
-
source: '/acknowledgements.md'
translation: '/%locale%/acknowledgements.md'
languages_mapping: *anchor
-
source: '/404.md'
translation: '/%locale%/404.md'
languages_mapping: *anchor
-
source: '/jsx-compiler.md'
translation: '/%locale%/jsx-compiler.md'
languages_mapping: *anchor