Allow Android 13 user to change the app language from system settings

This commit is contained in:
Sylvain Berfini 2022-06-16 09:56:15 +02:00
parent 93cdaf781b
commit 6f11fbc586
2 changed files with 14 additions and 0 deletions

View file

@ -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"

View file

@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="fr"/>
<locale android:name="en"/>
<locale android:name="bn"/>
<locale android:name="de"/>
<locale android:name="es"/>
<locale android:name="hu"/>
<locale android:name="nl"/>
<locale android:name="pt"/>
<locale android:name="ru"/>
<locale android:name="zh"/>
</locale-config>