Add supported languages to system settings (#733)

https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig
This commit is contained in:
Zongle Wang 2026-05-12 16:10:51 +08:00 committed by GitHub
parent a616468c11
commit d1ac459e66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 1 deletions

View File

@ -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 @@
</intent-filter>
</receiver>
</application>
</manifest>
</manifest>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="en"/>
<locale android:name="ja-JP"/>
<locale android:name="ko-KR"/>
<locale android:name="ru"/>
<locale android:name="vi"/>
<locale android:name="zh"/>
<locale android:name="zh-HK"/>
<locale android:name="zh-TW"/>
</locale-config>