summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoragrahn <agrahn@users.noreply.github.com>2024-08-05 16:58:05 +0200
committerGitHub <noreply@github.com>2024-08-05 14:58:05 +0000
commit1fd3b4882072cd8410a0b2bbead7c05c7810005c (patch)
tree81dfb7ea8b5ee612afa3b557a424b7906b48923f
parent33e8dc7af211408e023c621ca51731a61436f3fe (diff)
enable per-app language setting (Android-13+) (#3152)
-rw-r--r--app/build.gradle.kts2
-rw-r--r--app/src/main/res/resources.properties1
2 files changed, 3 insertions, 0 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts
index b6f0a378..3cf277b6 100644
--- a/app/build.gradle.kts
+++ b/app/build.gradle.kts
@@ -33,6 +33,8 @@ android {
buildFeatures { compose = true }
composeOptions { useLiveLiterals = false }
+ androidResources { generateLocaleConfig = true }
+
packaging { resources.excludes.add("META-INF/versions/**") }
}
diff --git a/app/src/main/res/resources.properties b/app/src/main/res/resources.properties
new file mode 100644
index 00000000..92481bb0
--- /dev/null
+++ b/app/src/main/res/resources.properties
@@ -0,0 +1 @@
+unqualifiedResLocale=en