Enable per-app language support (#153)

This commit is contained in:
Kirill Kamakin
2023-07-02 09:20:05 +02:00
committed by GitHub
parent 7560ac874e
commit 3f93578ff0
3 changed files with 8 additions and 0 deletions

View File

@@ -16,6 +16,7 @@
android:roundIcon="@mipmap/ic_launcher"
android:supportsRtl="true"
android:theme="@style/Theme.App.Starting"
android:localeConfig="@xml/locales_config"
tools:ignore="UnusedAttribute">
<activity
android:name=".ui.activity.MainActivity"

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
<locale android:name="en-US" />
<locale android:name="es" />
<locale android:name="ru" />
</locale-config>