From 8a2c6b47a5aca89be6aa1390e9c82451551af57b Mon Sep 17 00:00:00 2001 From: Alison Yoon <15139653+AlisonYoon@users.noreply.github.com> Date: Fri, 2 Feb 2024 11:00:37 +0000 Subject: [PATCH] feat(i18n): enable korean downloads for client and curriculum (#53360) --- .../workflows/crowdin-download.client-ui.yml | 29 ++++++++++++++++++ .../workflows/crowdin-download.curriculum.yml | 30 +++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/.github/workflows/crowdin-download.client-ui.yml b/.github/workflows/crowdin-download.client-ui.yml index d40c1f97237..22fb757b0df 100644 --- a/.github/workflows/crowdin-download.client-ui.yml +++ b/.github/workflows/crowdin-download.client-ui.yml @@ -291,6 +291,35 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Korean ##### + - name: Crowdin Download Korean Translations + uses: crowdin/github-action@master + # options: https://github.com/crowdin/github-action/blob/master/action.yml + with: + # uploads + upload_sources: false + upload_translations: false + auto_approve_imported: false + import_eq_suggestions: false + + # downloads + download_translations: true + download_language: ko + skip_untranslated_files: false + export_only_approved: true + + push_translations: false + + # pull-request + create_pull_request: false + + # global options + config: './crowdin-config.yml' + base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }} + + # Uncomment below to debug + # dryrun_action: true + ###### Format JSON ##### # Crowdin gives the files read-only permissions, so we first have to allow # writes. diff --git a/.github/workflows/crowdin-download.curriculum.yml b/.github/workflows/crowdin-download.curriculum.yml index 68f46074fbd..6db4b327dea 100644 --- a/.github/workflows/crowdin-download.curriculum.yml +++ b/.github/workflows/crowdin-download.curriculum.yml @@ -304,6 +304,36 @@ jobs: # Uncomment below to debug # dryrun_action: true + ##### Download Korean ##### + - name: Crowdin Download Korean Translations + uses: crowdin/github-action@master + # options: https://github.com/crowdin/github-action/blob/master/action.yml + with: + # uploads + upload_sources: false + upload_translations: false + auto_approve_imported: false + import_eq_suggestions: false + + # downloads + download_translations: true + download_language: ko + skip_untranslated_strings: false + skip_untranslated_files: false + export_only_approved: true + + push_translations: false + + # pull-request + create_pull_request: false + + # global options + config: './crowdin-config.yml' + base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }} + + # Uncomment below to debug + # dryrun_action: true + # Validate the Download # # All languages should go ABOVE this. # - name: Setup pnpm