From cbfb7768453ef4e9f4a94c20a36d290c13b00f54 Mon Sep 17 00:00:00 2001 From: kaia-docs Date: Wed, 8 Jan 2025 10:21:54 +0800 Subject: [PATCH] Update Crowdin configuration file --- crowdin.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) 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