diff --git a/.circleci/config.yml b/.circleci/config.yml index 75d7c06d09..0aee06da9d 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -92,7 +92,11 @@ jobs: sleep 5 # upload translation strings and download translations yarn run crowdin-upload - yarn run crowdin-download + # download only enabled languages + for lang in fr ko ru ro pt-BR zh-CN + do + yarn crowdin-download -l $lang + done # publish GIT_USER=docusaurus-bot USE_SSH=false yarn run publish-gh-pages else diff --git a/crowdin.yaml b/crowdin.yaml index dcbbcfc5ff..fc12d13605 100644 --- a/crowdin.yaml +++ b/crowdin.yaml @@ -9,11 +9,40 @@ files: translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%' languages_mapping: &anchor locale: - 'zh-CN': 'zh-CN' + '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' - 'ru': 'ru' + '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-CN' + 'zh-TW': 'zh-TW' - source: '/website-1.x/versioned_docs/**/*.md' translation: '/website-1.x/translated_docs/%locale%/**/%original_file_name%'