forked from ixartz/Next-js-Boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 0
/
crowdin.yml
38 lines (34 loc) · 791 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
#
# Your Crowdin credentials
#
'project_id_env': 'CROWDIN_PROJECT_ID'
'api_token_env': 'CROWDIN_PERSONAL_TOKEN'
'base_path': '.'
'base_url': 'https://api.crowdin.com'
#
# Choose file structure in Crowdin
# e.g. true or false
#
'preserve_hierarchy': true
#
# Files configuration
#
files: [
{
#
# Source files filter
# e.g. "/resources/en/*.json"
#
'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',
},
]