From 026c2c9493e0b7a21ded87d160de565427fa33ef Mon Sep 17 00:00:00 2001 From: kalarina Date: Sun, 25 Oct 2026 14:46:22 +0200 Subject: [PATCH] Package only the app's own languages Library translations for other languages made up a large part of resources.arsc while the app shows English in those languages anyway. --- app/build.gradle.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/build.gradle.kts b/app/build.gradle.kts index 35e9e48..b203622 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -27,6 +27,12 @@ android { } } + androidResources { + // Only the languages the app itself is translated to; library strings for other + // languages were unused weight, as the app falls back to English there anyway + localeFilters += listOf("en", "de", "ja", "lt", "ru", "zh") + } + compileOptions { sourceCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17