mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-06-11 21:01:06 +08:00
Add supported languages to system settings (#733)
https://developer.android.com/guide/topics/resources/app-languages#use-localeconfig
This commit is contained in:
parent
a616468c11
commit
d1ac459e66
@ -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>
|
||||
11
app/src/main/res/xml/locales_config.xml
Normal file
11
app/src/main/res/xml/locales_config.xml
Normal 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>
|
||||
Loading…
Reference in New Issue
Block a user