diff options
author | agrahn <agrahn@users.noreply.github.com> | 2024-08-05 16:58:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-05 14:58:05 +0000 |
commit | 1fd3b4882072cd8410a0b2bbead7c05c7810005c (patch) | |
tree | 81dfb7ea8b5ee612afa3b557a424b7906b48923f | |
parent | 33e8dc7af211408e023c621ca51731a61436f3fe (diff) |
enable per-app language setting (Android-13+) (#3152)
-rw-r--r-- | app/build.gradle.kts | 2 | ||||
-rw-r--r-- | app/src/main/res/resources.properties | 1 |
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 |