"project_id_env": "CROWDIN_PROJECT_ID" "api_token_env": "CROWDIN_PERSONAL_TOKEN" "base_path": "." "base_url": "https://api.crowdin.com" "preserve_hierarchy": true files: - source: amethyst/src/main/res/values/strings.xml translation: amethyst/src/main/res/values-%android_code%/%original_file_name% type: android skip_untranslated_strings: true # Land Kenyan Swahili (sw-KE) at the base qualifier so every Swahili speaker # (incl. regions we don't target individually) gets full coverage instead of # falling through to English. # REQUIRED Crowdin UI changes (target languages live under Project Settings -> # Languages), otherwise the next sync undoes this: # - keep "Swahili, Kenya" (sw-KE) checked -> mapped here to values-sw # - UNCHECK base "Swahili" (sw): it is an empty target, and leaving it on # makes both sw and the mapped sw-KE write values-sw (collision). # - UNCHECK "Swahili, Tanzania" (sw-TZ): empty, else it recreates an empty # values-sw-rTZ. languages_mapping: android_code: # Czech: single target, but Crowdin's default android_code is cs-rCZ, so # without this it writes values-cs-rCZ instead of base values-cs. Single # target => no collision; cs-CZ is dropped from locales_config to match. cs: cs sw-KE: sw # Shared UI strings that have been pulled down from the Android app into # commons (Compose Multiplatform resources, consumed by amethyst + desktopApp). # Same android layout + language mapping as the amethyst source so a key reads # identically whichever module owns it after the note-ui-commons extraction. - source: commons/src/commonMain/composeResources/values/strings.xml translation: commons/src/commonMain/composeResources/values-%android_code%/%original_file_name% type: android skip_untranslated_strings: true languages_mapping: android_code: cs: cs sw-KE: sw