From 6f11fbc5860d4d942cea93862671ae528f51a96c Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Thu, 16 Jun 2022 09:56:15 +0200 Subject: [PATCH] Allow Android 13 user to change the app language from system settings --- app/src/main/AndroidManifest.xml | 1 + app/src/main/res/xml/locales_config.xml | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 app/src/main/res/xml/locales_config.xml diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index e1063725e..b7a9087aa 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -53,6 +53,7 @@ android:allowBackup="false" android:icon="@mipmap/ic_launcher" android:label="${appLabel}" + android:localeConfig="@xml/locales_config" android:roundIcon="@mipmap/ic_launcher_round" android:extractNativeLibs="${extractNativeLibs}" android:theme="@style/AppTheme" diff --git a/app/src/main/res/xml/locales_config.xml b/app/src/main/res/xml/locales_config.xml new file mode 100644 index 000000000..b0261a5f3 --- /dev/null +++ b/app/src/main/res/xml/locales_config.xml @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file