mirror of
https://github.com/stoatchat/for-android.git
synced 2026-07-19 17:13:36 -04:00
feat: support per app language settings
Signed-off-by: Infi <wingit@geist.ga>
This commit is contained in:
@@ -57,6 +57,8 @@ android {
|
||||
vectorDrawables {
|
||||
useSupportLibrary true
|
||||
}
|
||||
|
||||
resourceConfigurations += ["en", "de", "fr", "id"]
|
||||
}
|
||||
|
||||
buildTypes {
|
||||
|
||||
@@ -15,7 +15,8 @@
|
||||
android:supportsRtl="true"
|
||||
android:name=".RevoltApplication"
|
||||
android:theme="@style/Theme.Revolt"
|
||||
tools:targetApi="31">
|
||||
android:localeConfig="@xml/locale_config"
|
||||
tools:targetApi="tiramisu">
|
||||
<provider
|
||||
android:name="androidx.core.content.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>
|
||||
Reference in New Issue
Block a user