summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDavid Göransson <david.goransson90@gmail.com>2023-11-01 09:01:28 +0100
committerAlbin <albin@mullvad.net>2023-11-10 11:35:55 +0100
commit21f68119fd19f49fbe262e349682ccd1fd9046d4 (patch)
treea1f81560565e45174c573e9655bcb4fba8fc6be2
parentc3482892cd7d8c26856c95c8a805ceab19e8d162 (diff)
downloadmullvadvpn-21f68119fd19f49fbe262e349682ccd1fd9046d4.tar.xz
mullvadvpn-21f68119fd19f49fbe262e349682ccd1fd9046d4.zip
Add support for app languages
-rw-r--r--CHANGELOG.md1
-rw-r--r--android/app/build.gradle.kts5
-rw-r--r--android/app/src/main/res/resources.properties1
3 files changed, 7 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index cf2d40fd85..5b208bd3e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -46,6 +46,7 @@ Line wrap the file at 100 chars. Th
- Migrate View Logs view to compose.
- Migrate voucher dialog to compose.
- Add "New Device" in app notification & rework notification system
+- Add support for setting per-app language in system settings.
#### Linux
- Don't block forwarding of traffic when the split tunnel mark (ct mark) is set.
diff --git a/android/app/build.gradle.kts b/android/app/build.gradle.kts
index df86dd3507..6250d03ee0 100644
--- a/android/app/build.gradle.kts
+++ b/android/app/build.gradle.kts
@@ -46,6 +46,11 @@ android {
}
}
+ androidResources {
+ @Suppress("UnstableApiUsage")
+ generateLocaleConfig = true
+ }
+
if (keystorePropertiesFile.exists()) {
signingConfigs {
create(SigningConfigs.RELEASE) {
diff --git a/android/app/src/main/res/resources.properties b/android/app/src/main/res/resources.properties
new file mode 100644
index 0000000000..467b3efec9
--- /dev/null
+++ b/android/app/src/main/res/resources.properties
@@ -0,0 +1 @@
+unqualifiedResLocale=en-US