diff --git a/crowdin.yaml b/crowdin.yaml index d766a80b1..8a3c4c847 100644 --- a/crowdin.yaml +++ b/crowdin.yaml @@ -6,16 +6,15 @@ api_token_env: CROWDIN_VERDACCIO_API_KEY preserve_hierarchy: true files: - - - source: 'packages/plugins/ui-theme/src/i18n/crowdin/**/*' - translation: '/packages/plugins/ui-theme/src/i18n/download_translations/%locale%/**/%original_file_name%' - - - source: '/website/i18n/en/**/*' + - source: /packages/plugins/ui-theme/src/i18n/crowdin/*.json + translation: '/packages/plugins/ui-theme/src/i18n/download_translations/%locale%/%original_file_name%' + # languages_mapping: *languages_mapping + - source: /website/i18n/en/**/* translation: '/website/i18n/%locale%/**/%original_file_name%' - - - source: '/website/docs/**/*' - translation: '/website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%' - - - source: '/website/versioned_docs/**/*' + - source: /website/docs/**/* translation: '/website/i18n/%locale%/docusaurus-plugin-content-docs/current/**/%original_file_name%' + # languages_mapping: *languages_mapping + - source: /website/versioned_docs/**/* + translation: /website/i18n/%locale%/docusaurus-plugin-content-docs/**/%original_file_name% + # languages_mapping: *languages_mapping \ No newline at end of file diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 66e0fcf7f..24dffdcbf 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -9,12 +9,19 @@ const isProductionDeployment = process.env.CONTEXT === "production"; const i18nConfig = { defaultLocale: 'en', locales: isDeployPreview ? ['en'] : [ - "en", "cs-CZ", "de-DE", - "es-ES", "fr-FR", - "it-IT", "pl-PL", - "pt-BR", "ru-RU", - "sr-CS", "vi-VN", - "yo-NG", "zh-TW", + "en", + "cs-CZ", + "de-DE", + "es-ES", + "fr-FR", + "it-IT", + "pl-PL", + "pt-BR", + "ru-RU", + "sr-CS", + "vi-VN", + "yo-NG", + "zh-TW", "zh-CN" ], localeConfigs: {