mirror of
https://github.com/finos/SymphonyElectron.git
synced 2024-11-28 03:33:49 -06:00
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>
This commit is contained in:
parent
b72b67cba9
commit
0466d4bc1e
29
crowdin.yml
Normal file
29
crowdin.yml
Normal file
@ -0,0 +1,29 @@
|
||||
#
|
||||
# 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",
|
||||
},
|
||||
]
|
Loading…
Reference in New Issue
Block a user