mirror of
https://github.com/KitsunePie/AppErrorsTracking.git
synced 2025-09-06 03:05:17 +08:00
feat: Per-app language preferences
This commit is contained in:
@@ -8,7 +8,8 @@
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:theme="@style/Theme.AppErrorsDemo">
|
||||
android:theme="@style/Theme.AppErrorsDemo"
|
||||
android:localeConfig="@xml/locales_config">
|
||||
|
||||
<activity
|
||||
android:name=".ui.activity.MainActivity"
|
||||
|
9
demo-app/src/main/res/xml/locales_config.xml
Normal file
9
demo-app/src/main/res/xml/locales_config.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<locale android:name="en"/> <!-- English -->
|
||||
<locale android:name="ja"/> <!-- Japanese -->
|
||||
<locale android:name="zh-Hans-CN"/> <!-- Chinese (Simplified) -->
|
||||
<locale android:name="zh-Hant-HK"/> <!-- Chinese (Hong Kong) -->
|
||||
<locale android:name="zh-Hant-MO"/> <!-- Chinese (Macau) -->
|
||||
<locale android:name="zh-Hant-TW"/> <!-- Chinese (Taiwan) -->
|
||||
</locale-config>
|
Reference in New Issue
Block a user