-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Expand file tree
/
Copy pathcrowdin.yml
More file actions
32 lines (28 loc) Β· 713 Bytes
/
crowdin.yml
File metadata and controls
32 lines (28 loc) Β· 713 Bytes
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
#
# Your Crowdin credentials
#
# No need modify CROWDIN_PROJECT_ID and CROWDIN_PERSONAL_TOKEN, you can set them in GitHub Actions secrets
project_id_env: CROWDIN_PROJECT_ID
api_token_env: CROWDIN_PERSONAL_TOKEN
base_path: .
base_url: 'https://api.crowdin.com' # https://{organization-name}.crowdin.com for Crowdin Enterprise
#
# Choose file structure in Crowdin
# e.g. true or false
#
preserve_hierarchy: true
#
# Files configuration
#
files:
- source: /src/locales/en.json
#
# Where translations will be placed
# e.g. "/resources/%two_letters_code%/%original_file_name%"
#
translation: '/src/locales/%two_letters_code%.json'
#
# File type
# e.g. "json"
#
type: json