SymphonyElectron/crowdin.yml
Roger Sheen 0466d4bc1e
I18N-978: Add configuration file for Crowdin CLI (#1071)
Per https://support.crowdin.com/cli-tool/

Fixes https://perzoinc.atlassian.net/browse/I18N-978

Co-authored-by: Vishwas Shashidhar <VishwasShashidhar@users.noreply.github.com>
2020-09-22 21:19:54 +05:30

30 lines
678 B
YAML

#
# Your Crowdin credentials
#
"project_id": "420172" # Crowdin project Settings > API & Webhooks > API > Project Id
"api_token_env": "CROWDIN_PERSONAL_TOKEN" # Low priority: superseded by user-specific credentials file ~/.crowdin.yaml
"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": "/src/locale/en-US.json",
"translation": "/src/locale/%locale%.json",
},
# Duplicate file
{
"source": "/src/locale/en.json",
"translation": "/src/locale/%two_letters_code%.json",
},
]