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.
This commit is contained in:
2026-10-25 14:46:22 +02:00
parent 8907f4cf96
commit 026c2c9493
+6
View File
@@ -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 { compileOptions {
sourceCompatibility = JavaVersion.VERSION_17 sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17 targetCompatibility = JavaVersion.VERSION_17