feat: support per app language settings
Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
parent
3a71b33f47
commit
1b7d4e8cd2
|
|
@ -57,6 +57,8 @@ android {
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
useSupportLibrary true
|
useSupportLibrary true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
resourceConfigurations += ["en", "de", "fr", "id"]
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,8 @@
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:name=".RevoltApplication"
|
android:name=".RevoltApplication"
|
||||||
android:theme="@style/Theme.Revolt"
|
android:theme="@style/Theme.Revolt"
|
||||||
tools:targetApi="31">
|
android:localeConfig="@xml/locale_config"
|
||||||
|
tools:targetApi="tiramisu">
|
||||||
<provider
|
<provider
|
||||||
android:name="androidx.core.content.FileProvider"
|
android:name="androidx.core.content.FileProvider"
|
||||||
android:authorities="${applicationId}.fileprovider"
|
android:authorities="${applicationId}.fileprovider"
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,7 @@
|
||||||
|
<?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="de" />
|
||||||
|
<locale android:name="fr" />
|
||||||
|
<locale android:name="id" />
|
||||||
|
</locale-config>
|
||||||
Loading…
Reference in New Issue