Add Crowdin config file

This commit is contained in:
SiboVG 2024-08-29 23:25:48 +02:00
parent 29598ef1b1
commit e8974fa0e7

43
crowdin.yml Normal file
View File

@ -0,0 +1,43 @@
#
# Your Crowdin credentials
#
"project_id": "711913"
"api_token_env": "CROWDIN_API_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": "core/src/main/resources/l10n/messages.properties",
"translation": "core/src/main/resources/l10n/messages_%two_letters_code%.properties",
"type": "properties",
# 3 - escape single quote by another single quote only in strings containing variables ( {0} ).
"escape_quotes": 3,
# 0 - do not escape special characters
"escape_special_characters": 0
},
{
"source": "core/src/main/resources/l10n/messages.properties",
"translation": "core/src/main/resources/l10n/messages_%locale_with_underscore%.properties",
"type": "properties",
# 3 - escape single quote by another single quote only in strings containing variables ( {0} ).
"escape_quotes": 3,
# 0 - do not escape special characters
"escape_special_characters": 0
}
]