Browse Source
* 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 directorymain
Eric Nakagawa
8 years ago
committed by
Dan Abramov
1 changed files with 101 additions and 0 deletions
@ -0,0 +1,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 |
Loading…
Reference in new issue