diff --git a/crowdin.yml b/crowdin.yml index 8957f74fd6b..a2aaddcc395 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,15 +1,12 @@ project_id: '684038' api_token_env: CROWDIN_PERSONAL_TOKEN -preserve_hierarchy: true -languages_mapping: &languages_mapping +languages_mapping: two_letters_code: zh-CN: zh-CN +preserve_hierarchy: 1 files: - # JSON translation files - source: /i18n/en/**/*.json translation: /i18n/%two_letters_code%/**/%original_file_name% - languages_mapping: *languages_mapping - # Docs Markdown files - - source: /docs/**/*.{md,mdx} + languages_mapping: [] + - source: /docs/**/*.* translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name% - languages_mapping: *languages_mapping \ No newline at end of file