diff --git a/app/build.gradle.kts b/app/build.gradle.kts index d2034bc30..c6d450add 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -64,7 +64,10 @@ android { missingDimensionStrategy(dimension = "distribution", requestedValue = "standard") - androidResources.localeFilters += listOf("en", "de", "es", "fr", "it", "da", "el", "fi", "nb", "nl", "pl", "pt", "sv") + androidResources { + localeFilters += listOf("en", "de", "es", "fr", "it", "da", "el", "fi", "nb", "nl", "pl", "pt", "sv") + generateLocaleConfig = true + } } val debugSigningConfig = signingConfigs.getByName("debug") { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index c6021895a..69832a13c 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -42,7 +42,6 @@ android:fullBackupContent="@xml/backup_rules" android:icon="@mipmap/ic_launcher" android:label="@string/appName" - android:localeConfig="@xml/locales_config" android:networkSecurityConfig="@xml/network_security_config" android:roundIcon="@mipmap/ic_launcher_round" android:supportsRtl="true" diff --git a/app/src/main/res/xml/locales_config.xml b/app/src/main/res/xml/locales_config.xml deleted file mode 100644 index ac211bd7c..000000000 --- a/app/src/main/res/xml/locales_config.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - -