#
# 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",
    },
    "cleanup_mode": true,
    "update_option:": "update_as_unapproved",
    "escape_quotes": 2,
    "escape_special_characters": 1,
    "type": "android",
  }
]
