forked from AdguardTeam/KnowledgeBase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yml
22 lines (20 loc) · 822 Bytes
/
crowdin.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
project_id: "543550"
api_token_env: "CROWDIN_PERSONAL_TOKEN"
preserve_hierarchy: true
# We generally want to use the "two-letters-code" of a locale (ie the language)
# But not for all locales!
# "pt-BR" may be better to remain as "pt-BR" instead of being transformed to "pt"
# Note: &/* is Yaml anchor syntax: https://support.atlassian.com/bitbucket-cloud/docs/yaml-anchors/
languages_mapping: &languages_mapping
two_letters_code:
zh-CN: zh-CN
zh-TW: zh-TW
files:
- source: /i18n/en/**/*
translation: /i18n/%two_letters_code%/**/%original_file_name%
languages_mapping: *languages_mapping
- source: /docs/**/*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
languages_mapping: *languages_mapping
ignore:
- "/**/_category_.json"