From 1fd3b4882072cd8410a0b2bbead7c05c7810005c Mon Sep 17 00:00:00 2001 From: agrahn Date: Mon, 5 Aug 2024 16:58:05 +0200 Subject: enable per-app language setting (Android-13+) (#3152) --- app/build.gradle.kts | 2 ++ app/src/main/res/resources.properties | 1 + 2 files changed, 3 insertions(+) create mode 100644 app/src/main/res/resources.properties 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 -- cgit v1.2.3