Skip to content

Commit

Permalink
Updates CrowdIn configuration to use /lang/folder/file.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ericnakagawa committed Nov 17, 2017
1 parent 6ce280e commit 1fe0a1b
Showing 1 changed file with 28 additions and 43 deletions.
71 changes: 28 additions & 43 deletions crowdin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ preserve_hierarchy: true

files:
-
source: '/docs/*.md'
translation: '/docs/i18n/%locale%/%original_file_name%'
source: '/content/docs/*.md'
translation: '/docs/%locale%/docs/%original_file_name%'
languages_mapping: &anchor
locale:
'af': 'af'
Expand Down Expand Up @@ -44,58 +44,43 @@ files:
'zh-CN': 'zh-Hans'
'zh-TW': 'zh-Hant'
-
source: '/tutorial/*.md'
translation: '/tutorial/%locale%/%original_file_name%'
source: '/content/blog/*.md'
translation: '/docs/%locale%/blog/%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%'
source: '/content/tutorial/*.md'
translation: '/docs/%locale%/tutorial/%original_file_name%'
languages_mapping: *anchor
-
source: '/_data/*.yml'
translation: '/_data/%locale%/%original_file_name%'
languages_mapping: *anchor
source: '/content/community/*.md'
translation: '/docs/%locale%/community/%original_file_name%'
ignore:
- '/_data/acknowledgements.yml'
- '/_data/authors.md'
-
source: '/warnings/*.md'
translation: '/warnings/%locale%/%original_file_name%'
- '/content/community/complementary-tools.it-IT.md'
- '/content/community/complementary-tools.ko-KR.md'
- '/content/community/complementary-tools.zh-CN.md'
- '/content/community/conferences.it-IT.md'
- '/content/community/conferences.ko-KR.md'
- '/content/community/conferences.zh-CN.md'
- '/content/community/examples.it-IT.md'
- '/content/community/examples.ko-KR.md'
- '/content/community/examples.zh-CN.md'
- '/content/community/videos.it-IT.md'
- '/content/community/videos.ko-KR.md'
- '/content/community/videos.zh-CN.md'
languages_mapping: *anchor
-
source: '/index.md'
translation: '/%locale%/index.md'
source: '/content/contributing/*.md'
translation: '/docs/%locale%/contributing/%original_file_name%'
languages_mapping: *anchor
-
source: '/README.md'
translation: '/%locale%/README.md'
source: '/content/warnings/*.md'
translation: '/docs/%locale%/warnings/%original_file_name%'
languages_mapping: *anchor
-
source: '/acknowledgements.md'
translation: '/%locale%/acknowledgements.md'
source: '/README.md'
translation: '/docs/%locale%/README.md'
languages_mapping: *anchor
-
source: '/404.md'
translation: '/%locale%/404.md'
source: '/content/404.md'
translation: '/docs/%locale%/404.md'
languages_mapping: *anchor
-
source: '/jsx-compiler.md'
translation: '/%locale%/jsx-compiler.md'
languages_mapping: *anchor

0 comments on commit 1fe0a1b

Please sign in to comment.