forked from Henrimoor/galaxy-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrowdin.yaml
More file actions
23 lines (20 loc) · 923 Bytes
/
crowdin.yaml
File metadata and controls
23 lines (20 loc) · 923 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
project_id: 514972
api_token_env: CROWDIN_DOCUSAURUS_API_KEY
preserve_hierarchy: true
languages_mapping: &languages_mapping
two_letters_code:
# We will use two letters code generally but for Chinese, we will need
# to enforce special types to differentiate simplified and traditional
# Chinese. Same idea will apply to other languages like Portuguese.
zh-CN: zh-CN
files:
# JSON translation files
- source: /i18n/en/**/*
translation: /website/i18n/%two_letters_code%/**/%original_file_name%
languages_mapping: *languages_mapping
- source: /doc-overview/**/*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs/current/**/%original_file_name%
languages_mapping: *languages_mapping
- source: /doc-guides/**/*
translation: /i18n/%two_letters_code%/docusaurus-plugin-content-docs-guides/current/**/%original_file_name%
languages_mapping: *languages_mapping