From d1ac459e66fb950df2aa9f931f1a9291652781cc Mon Sep 17 00:00:00 2001 From: Zongle Wang Date: Tue, 12 May 2026 16:10:51 +0800 Subject: [PATCH] Add supported languages to system settings (#733) https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig --- app/src/main/AndroidManifest.xml | 3 ++- app/src/main/res/xml/locales_config.xml | 11 +++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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 691af6a0..c29133e5 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -24,6 +24,7 @@ android:fullBackupContent="@xml/full_backup_content" android:icon="@mipmap/ic_launcher" android:label="@string/application_name" + android:localeConfig="@xml/locales_config" android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" @@ -218,4 +219,4 @@ - + \ No newline at end of file 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 00000000..dbe540c6 --- /dev/null +++ b/app/src/main/res/xml/locales_config.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + \ No newline at end of file