diff options
| author | David Göransson <david.goransson90@gmail.com> | 2023-11-01 09:01:28 +0100 |
|---|---|---|
| committer | Albin <albin@mullvad.net> | 2023-11-10 11:35:55 +0100 |
| commit | 21f68119fd19f49fbe262e349682ccd1fd9046d4 (patch) | |
| tree | a1f81560565e45174c573e9655bcb4fba8fc6be2 | |
| parent | c3482892cd7d8c26856c95c8a805ceab19e8d162 (diff) | |
| download | mullvadvpn-21f68119fd19f49fbe262e349682ccd1fd9046d4.tar.xz mullvadvpn-21f68119fd19f49fbe262e349682ccd1fd9046d4.zip | |
Add support for app languages
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | android/app/build.gradle.kts | 5 | ||||
| -rw-r--r-- | android/app/src/main/res/resources.properties | 1 |
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 |
