Adding Crowdin config file to master repo (#10579)
* Adding Crowdin config file to master repo * Updated to include additional files while ignoring localized community files stored on github * Additional files ignored * Included additional files in root docs directory
Eric Nakagawa committed
Sep 1, 2017 at 11:33 UTC
f6ceacdd44bc705226ca35433e9fe9678650001d
1 file changed
+101
docs/crowdin.yaml
new
+101
@@ -0,0 +1,101 @@
1
+project_identifier_env: CROWDIN_REACT_PROJECT_ID
2
+api_key_env: CROWDIN_REACT_API_KEY
3
+base_path: "./"
4
+preserve_hierarchy: true
5
+
6
+files:
7
+ -
8
+ source: '/docs/*.md'
9
+ translation: '/docs/i18n/%locale%/%original_file_name%'
10
+ languages_mapping: &anchor
11
+ locale:
12
+ 'af': 'af'
13
+ 'ar': 'ar'
14
+ 'bs-BA': 'bs-BA'
15
+ 'ca': 'ca'
16
+ 'cs': 'cs'
17
+ 'da': 'da'
18
+ 'de': 'de'
19
+ 'el': 'el'
20
+ 'es-ES': 'es-ES'
21
+ 'fa': 'fa-IR'
22
+ 'fi': 'fi'
23
+ 'fr': 'fr'
24
+ 'he': 'he'
25
+ 'hu': 'hu'
26
+ 'id': 'id-ID'
27
+ 'it': 'it'
28
+ 'ja': 'ja'
29
+ 'ko': 'ko'
30
+ 'mr': 'mr-IN'
31
+ 'nl': 'nl'
32
+ 'no': 'no-NO'
33
+ 'pl': 'pl'
34
+ 'pt-BR': 'pt-BR'
35
+ 'pt-PT': 'pt-PT'
36
+ 'ro': 'ro'
37
+ 'ru': 'ru'
38
+ 'sk': 'sk-SK'
39
+ 'sr': 'sr'
40
+ 'sv-SE': 'sv-SE'
41
+ 'tr': 'tr'
42
+ 'uk': 'uk'
43
+ 'vi': 'vi'
44
+ 'zh-CN': 'zh-Hans'
45
+ 'zh-TW': 'zh-Hant'
46
+ -
47
+ source: '/tutorial/*.md'
48
+ translation: '/tutorial/%locale%/%original_file_name%'
49
+ languages_mapping: *anchor
50
+ -
51
+ source: '/community/*.md'
52
+ translation: '/community/%locale%/%original_file_name%'
53
+ ignore:
54
+ - '/community/complementary-tools.it-IT.md'
55
+ - '/community/complementary-tools.ko-KR.md'
56
+ - '/community/complementary-tools.zh-CN.md'
57
+ - '/community/conferences.it-IT.md'
58
+ - '/community/conferences.ko-KR.md'
59
+ - '/community/conferences.zh-CN.md'
60
+ - '/community/examples.it-IT.md'
61
+ - '/community/examples.ko-KR.md'
62
+ - '/community/examples.zh-CN.md'
63
+ - '/community/videos.it-IT.md'
64
+ - '/community/videos.ko-KR.md'
65
+ - '/community/videos.zh-CN.md'
66
+ languages_mapping: *anchor
67
+ -
68
+ source: '/contributing/*.md'
69
+ translation: '/contributing/%locale%/%original_file_name%'
70
+ languages_mapping: *anchor
71
+ -
72
+ source: '/_data/*.yml'
73
+ translation: '/_data/%locale%/%original_file_name%'
74
+ languages_mapping: *anchor
75
+ ignore:
76
+ - '/_data/acknowledgements.yml'
77
+ - '/_data/authors.md'
78
+ -
79
+ source: '/warnings/*.md'
80
+ translation: '/warnings/%locale%/%original_file_name%'
81
+ languages_mapping: *anchor
82
+ -
83
+ source: '/index.md'
84
+ translation: '/%locale%/index.md'
85
+ languages_mapping: *anchor
86
+ -
87
+ source: '/README.md'
88
+ translation: '/%locale%/README.md'
89
+ languages_mapping: *anchor
90
+ -
91
+ source: '/acknowledgements.md'
92
+ translation: '/%locale%/acknowledgements.md'
93
+ languages_mapping: *anchor
94
+ -
95
+ source: '/404.md'
96
+ translation: '/%locale%/404.md'
97
+ languages_mapping: *anchor
98
+ -
99
+ source: '/jsx-compiler.md'
100
+ translation: '/%locale%/jsx-compiler.md'
101
+ languages_mapping: *anchor
\ No newline at end of file