mirror of
https://github.com/meshtastic/Meshtastic-Android.git
synced 2026-04-20 22:23:37 +00:00
chore(l10n): Add Crowdin localization workflow and configuration (#1798)
This commit is contained in:
parent
0f9f00843f
commit
17cd4cdc19
2 changed files with 73 additions and 0 deletions
36
config/crowdin/crowdin.yml
Normal file
36
config/crowdin/crowdin.yml
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#
|
||||
# Basic Crowdin CLI configuration
|
||||
# See https://crowdin.github.io/crowdin-cli/configuration for more information
|
||||
# See https://support.crowdin.com/developer/configuration-file/ for all available options
|
||||
#
|
||||
|
||||
#
|
||||
# Crowdin credentials
|
||||
#
|
||||
"project_id_env": "CROWDIN_PROJECT_ID"
|
||||
"api_token_env": "CROWDIN_PERSONAL_TOKEN"
|
||||
"base_path": "."
|
||||
"base_url": "https://meshtastic.crowdin.com/api/v2"
|
||||
|
||||
#
|
||||
# Defines whether to preserve the original directory structure in the Crowdin project
|
||||
# Recommended to set to true
|
||||
#
|
||||
"preserve_hierarchy": false
|
||||
|
||||
#
|
||||
# Files configuration.
|
||||
# See https://support.crowdin.com/developer/configuration-file/ for all available options
|
||||
#
|
||||
"files": [
|
||||
{
|
||||
"source": "/**/values/strings.xml",
|
||||
"translation": "/**/values-%two_letters_code%/%original_file_name%",
|
||||
"translation_replace": {
|
||||
"sr-Latn": "b+sr+Latn",
|
||||
},
|
||||
"update_strings": true,
|
||||
"cleanup_mode": true,
|
||||
"escape_special_characters": 1
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue