2020-09-22 10:49:54 -05:00
|
|
|
#
|
|
|
|
# Your Crowdin credentials
|
|
|
|
#
|
2022-10-13 07:59:36 -05:00
|
|
|
'project_id': '420172' # Crowdin project Settings > API & Webhooks > API > Project Id
|
|
|
|
'api_token_env': 'CROWDIN_API_TOKEN' # Low priority: superseded by user-specific credentials file ~/.crowdin.yaml
|
|
|
|
'base_path': '.'
|
|
|
|
'base_url': 'https://api.crowdin.com'
|
2020-09-22 10:49:54 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Choose file structure in Crowdin
|
|
|
|
# e.g. true or false
|
|
|
|
#
|
2022-10-13 07:59:36 -05:00
|
|
|
'preserve_hierarchy': true
|
2020-09-22 10:49:54 -05:00
|
|
|
|
|
|
|
#
|
|
|
|
# Files configuration
|
|
|
|
#
|
2022-10-13 07:59:36 -05:00
|
|
|
files: [
|
2020-09-22 10:49:54 -05:00
|
|
|
{
|
2022-10-13 07:59:36 -05:00
|
|
|
'source': '/src/locale/en-US.json',
|
|
|
|
'translation': '/src/locale/%locale%.json',
|
2020-09-22 10:49:54 -05:00
|
|
|
},
|
|
|
|
# Duplicate file
|
|
|
|
{
|
2022-10-13 07:59:36 -05:00
|
|
|
'source': '/src/locale/en.json',
|
|
|
|
'translation': '/src/locale/%two_letters_code%.json',
|
2020-09-22 10:49:54 -05:00
|
|
|
},
|
|
|
|
]
|