From e8974fa0e76c242ff5dc6b616c47a1e685a4647a Mon Sep 17 00:00:00 2001 From: SiboVG Date: Thu, 29 Aug 2024 23:25:48 +0200 Subject: [PATCH] Add Crowdin config file --- crowdin.yml | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 crowdin.yml diff --git a/crowdin.yml b/crowdin.yml new file mode 100644 index 000000000..632ea9ffe --- /dev/null +++ b/crowdin.yml @@ -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 + } +] \ No newline at end of file