Skip to content

Commit 1fe0a1b

Browse files
committed
Updates CrowdIn configuration to use /lang/folder/file.md
1 parent 6ce280e commit 1fe0a1b

File tree

1 file changed

+28
-43
lines changed

1 file changed

+28
-43
lines changed

Diff for: crowdin.yaml

+28-43
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ preserve_hierarchy: true
55

66
files:
77
-
8-
source: '/docs/*.md'
9-
translation: '/docs/i18n/%locale%/%original_file_name%'
8+
source: '/content/docs/*.md'
9+
translation: '/docs/%locale%/docs/%original_file_name%'
1010
languages_mapping: &anchor
1111
locale:
1212
'af': 'af'
@@ -44,58 +44,43 @@ files:
4444
'zh-CN': 'zh-Hans'
4545
'zh-TW': 'zh-Hant'
4646
-
47-
source: '/tutorial/*.md'
48-
translation: '/tutorial/%locale%/%original_file_name%'
47+
source: '/content/blog/*.md'
48+
translation: '/docs/%locale%/blog/%original_file_name%'
4949
languages_mapping: *anchor
5050
-
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%'
51+
source: '/content/tutorial/*.md'
52+
translation: '/docs/%locale%/tutorial/%original_file_name%'
7053
languages_mapping: *anchor
7154
-
72-
source: '/_data/*.yml'
73-
translation: '/_data/%locale%/%original_file_name%'
74-
languages_mapping: *anchor
55+
source: '/content/community/*.md'
56+
translation: '/docs/%locale%/community/%original_file_name%'
7557
ignore:
76-
- '/_data/acknowledgements.yml'
77-
- '/_data/authors.md'
78-
-
79-
source: '/warnings/*.md'
80-
translation: '/warnings/%locale%/%original_file_name%'
58+
- '/content/community/complementary-tools.it-IT.md'
59+
- '/content/community/complementary-tools.ko-KR.md'
60+
- '/content/community/complementary-tools.zh-CN.md'
61+
- '/content/community/conferences.it-IT.md'
62+
- '/content/community/conferences.ko-KR.md'
63+
- '/content/community/conferences.zh-CN.md'
64+
- '/content/community/examples.it-IT.md'
65+
- '/content/community/examples.ko-KR.md'
66+
- '/content/community/examples.zh-CN.md'
67+
- '/content/community/videos.it-IT.md'
68+
- '/content/community/videos.ko-KR.md'
69+
- '/content/community/videos.zh-CN.md'
8170
languages_mapping: *anchor
8271
-
83-
source: '/index.md'
84-
translation: '/%locale%/index.md'
72+
source: '/content/contributing/*.md'
73+
translation: '/docs/%locale%/contributing/%original_file_name%'
8574
languages_mapping: *anchor
8675
-
87-
source: '/README.md'
88-
translation: '/%locale%/README.md'
76+
source: '/content/warnings/*.md'
77+
translation: '/docs/%locale%/warnings/%original_file_name%'
8978
languages_mapping: *anchor
9079
-
91-
source: '/acknowledgements.md'
92-
translation: '/%locale%/acknowledgements.md'
80+
source: '/README.md'
81+
translation: '/docs/%locale%/README.md'
9382
languages_mapping: *anchor
9483
-
95-
source: '/404.md'
96-
translation: '/%locale%/404.md'
84+
source: '/content/404.md'
85+
translation: '/docs/%locale%/404.md'
9786
languages_mapping: *anchor
98-
-
99-
source: '/jsx-compiler.md'
100-
translation: '/%locale%/jsx-compiler.md'
101-
languages_mapping: *anchor

0 commit comments

Comments
 (0)