diff --git a/.github/workflows/crowdin.yml b/.github/workflows/crowdin.yml index 5b483251dc..a2c68bd9b4 100644 --- a/.github/workflows/crowdin.yml +++ b/.github/workflows/crowdin.yml @@ -40,3 +40,4 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} CROWDIN_PROJECT_ID: ${{ vars.CROWDIN_PROJECT_ID }} CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} + CROWDIN_API_BASE_URL: ${{ vars.CROWDIN_API_BASE_URL }} diff --git a/crowdin.yml b/crowdin.yml index 79b7b99c95..b8071cc865 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -1,15 +1,21 @@ project_id_env: CROWDIN_PROJECT_ID api_token_env: CROWDIN_PERSONAL_TOKEN +base_url_env: CROWDIN_API_BASE_URL preserve_hierarchy: true files: - - source: "/content/en/**/*.md" - ignore: - - "/content/en/news/**/index.md" - translation: "/content/%two_letters_code%/**/%original_file_name%" - dest: "/Website content/**/%original_file_name%" + # Homepage content + - source: "/content/en/_index.md" + dest: "/Website content/homepage.md" + translation: "/content/%two_letters_code%/_index.md" + # Top Sections' content (disabled for now) + # - source: "/content/en/**/_index.md" + # dest: "/Website content/**/%original_file_name%" + # translation: "/content/%two_letters_code%/**/%original_file_name%" + + # Theme UI strings - source: "/themes/trigo/i18n/en.yaml" + dest: "/Website theme/i18n.yaml" translation: "/themes/trigo/i18n/%two_letters_code%.yaml" - dest: "/Website i18n/en.yaml"