forked from github/docs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
crowdin.yml
33 lines (31 loc) · 1.24 KB
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
files:
- source: /content/**/*.md
translation: /translations/%locale%/%original_path%/%original_file_name%
# See lib/page-data.js for a matching list of prefix exceptions
# Try to keep these in sync when editing in either location.
ignore:
- '/content/README.md'
- '/content/early-access'
- '/content/site-policy/site-policy-deprecated'
- '/content/github/index'
- '/content/search'
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