1
0
mirror of synced 2025-12-30 03:01:36 -05:00
Files
docs/crowdin.yml
Francis 5ab51939c8 fix: exclude target languages for source files (DE, KO, RU) (#22651)
Closes https://github.com/github/docs-engineering/issues/1167

This change prevents the `crowdin/github-action` from downloading
translations in German, Russian, and Korean since we have never
officially supported those languages.
2021-11-05 21:04:20 +00:00

30 lines
1.0 KiB
YAML

files:
- source: /content/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
ignore:
- '/content/README.md'
- '/content/early-access'
- '/content/github/site-policy-deprecated'
excluded_target_languages: ['de', 'ko', 'ru']
- source: /data/**/*.yml
translation: /translations/%locale%/%original_path%/%original_file_name%
excluded_target_languages: ['de', 'ko', 'ru']
- source: /data/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
ignore:
- '/data/README.md'
- '/data/reusables/README.md'
- '/data/variables/product.yml'
- '/data/variables/README.md'
- '/data/early-access'
- '/data/graphql'
- '/data/products.yml'
excluded_target_languages: ['de', 'ko', 'ru']
# These end up as env vars used by the GitHub Actions workflow
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
# https://support.crowdin.com/configuration-file-v3/#saving-directory-structure-on-server
preserve_hierarchy: true