From 0a7b8300df50a8cf6f5b4d69686d4e38907769d6 Mon Sep 17 00:00:00 2001 From: davotoula Date: Wed, 17 Jun 2026 12:50:29 +0200 Subject: [PATCH] fix(l10n): promote Kenyan Swahili to the base resource qualifier --- .../src/main/res/values-sw-rTZ/strings.xml | 21 ------------------- .../{values-sw-rKE => values-sw}/strings.xml | 0 crowdin.yml | 15 ++++++++++++- 3 files changed, 14 insertions(+), 22 deletions(-) delete mode 100644 amethyst/src/main/res/values-sw-rTZ/strings.xml rename amethyst/src/main/res/{values-sw-rKE => values-sw}/strings.xml (100%) diff --git a/amethyst/src/main/res/values-sw-rTZ/strings.xml b/amethyst/src/main/res/values-sw-rTZ/strings.xml deleted file mode 100644 index aadb21a0f8..0000000000 --- a/amethyst/src/main/res/values-sw-rTZ/strings.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - diff --git a/amethyst/src/main/res/values-sw-rKE/strings.xml b/amethyst/src/main/res/values-sw/strings.xml similarity index 100% rename from amethyst/src/main/res/values-sw-rKE/strings.xml rename to amethyst/src/main/res/values-sw/strings.xml diff --git a/crowdin.yml b/crowdin.yml index 2128afc240..a3a829e0ab 100644 --- a/crowdin.yml +++ b/crowdin.yml @@ -8,4 +8,17 @@ 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 \ No newline at end of file + 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: + sw-KE: sw \ No newline at end of file