From 92c05a21f812de3889cd066a1baf0c99c31c94d2 Mon Sep 17 00:00:00 2001 From: James Rich <2199651+jamesarich@users.noreply.github.com> Date: Wed, 10 Sep 2025 13:19:09 -0500 Subject: [PATCH] feat(i18n): add region codes to locale filters (#3058) --- app/build.gradle.kts | 70 +++++++++++++++++++++++--------------------- 1 file changed, 36 insertions(+), 34 deletions(-) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index fb9409d3f..7840cd8f4 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -8,7 +8,7 @@ * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * MERCHANTABILITY or FITNESS FOR a PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License @@ -84,43 +84,45 @@ android { @Suppress("UnstableApiUsage") androidResources.localeFilters.addAll( listOf( - "bg", - "ca", - "cs", - "de", - "el", "en", - "es", - "et", - "fi", - "fr", - "fr-rHT", - "ga", - "gl", - "hr", - "hu", - "is", - "it", - "iw", - "ja", - "ko", - "lt", - "nl", - "nb", - "pl", - "pt", + "ar-rSA", + "sr-Latn", + "bg-rBG", + "ca-rES", + "cs-rCZ", + "de-rDE", + "el-rGR", + "es-rES", + "et-rEE", + "fi-rFI", + "fr-rFR", + "ga-rIE", + "gl-rES", + "hr-rHR", + "ht-rHT", + "hu-rHU", + "is-rIS", + "it-rIT", + "iw-rIL", + "ja-rJP", + "ko-rKR", + "lt-rLT", + "nl-rNL", + "no-rNO", + "pl-rPL", "pt-rBR", - "ro", - "ru", - "sk", - "sl", - "sq", - "sr", - "sv", - "tr", + "pt-rPT", + "ro-rRO", + "ru-rRU", + "sk-rSK", + "sl-rSI", + "sq-rAL", + "srp", + "sv-rSE", + "tr-rTR", + "uk-rUA", "zh-rCN", "zh-rTW", - "uk", ), ) ndk { abiFilters += listOf("armeabi-v7a", "arm64-v8a", "x86", "x86_64") }