diff --git a/mastodon/build.gradle b/mastodon/build.gradle index 66296c4cf7..d7adcd9be0 100644 --- a/mastodon/build.gradle +++ b/mastodon/build.gradle @@ -12,6 +12,10 @@ android { versionCode 43 versionName "1.1.4" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" + resConfigs "en", "ar-rSA", "bs-rBA", "ca-rES", "cs-rCZ", "de-rDE", "el-rGR", "es-rES", + "eu-rES", "fi-rFI", "fr-rFR", "gl-rES", "hr-rHR", "hy-rAM", "it-rIT", "iw-rIL", + "ja-rJP", "kab", "ko-rKR", "oc-rFR", "pl-rPL", "pt-rBR", "pt-rPT", "ru-rRU", + "sv-rSE", "th-rTH", "tr-rTR", "uk-rUA", "vi-rVN", "zh-rCN", "zh-rTW" } buildTypes { diff --git a/mastodon/src/main/AndroidManifest.xml b/mastodon/src/main/AndroidManifest.xml index 23694aa2f6..897069a9d7 100644 --- a/mastodon/src/main/AndroidManifest.xml +++ b/mastodon/src/main/AndroidManifest.xml @@ -16,6 +16,7 @@ android:allowBackup="true" android:label="@string/app_name" android:supportsRtl="true" + android:localeConfig="@xml/locales_config" android:icon="@mipmap/ic_launcher" android:roundIcon="@mipmap/ic_launcher_round" android:theme="@style/Theme.Mastodon.AutoLightDark" diff --git a/mastodon/src/main/res/xml/locales_config.xml b/mastodon/src/main/res/xml/locales_config.xml new file mode 100644 index 0000000000..67b222e067 --- /dev/null +++ b/mastodon/src/main/res/xml/locales_config.xml @@ -0,0 +1,34 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file