From: Soren Stoutner Date: Thu, 3 Nov 2022 20:25:55 +0000 (-0700) Subject: Enable per-app language support. https://redmine.stoutner.com/issues/910 X-Git-Tag: v3.12~11 X-Git-Url: https://gitweb.stoutner.com/?a=commitdiff_plain;h=c7cea803670eae12c0d95afa8fb5b4dd180aac75;p=PrivacyBrowserAndroid.git Enable per-app language support. https://redmine.stoutner.com/issues/910 --- diff --git a/app/build.gradle b/app/build.gradle index e36ed768..ae0f7fa9 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -30,6 +30,7 @@ android { targetSdk 33 versionCode 60 versionName "3.11" + resConfigs "en", "de", "es", "fr", "it", "pt-rBR", "ru", "tr" } buildTypes { @@ -80,7 +81,7 @@ dependencies { implementation 'androidx.webkit:webkit:1.5.0' // Include the Kotlin standard library. This should be the same version number listed in project build.gradle. - implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.10' + implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.7.20' // Include the Google material library. implementation 'com.google.android.material:material:1.7.0' diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 8d99e276..4cfa09bd 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -58,6 +58,7 @@ android:theme="@style/PrivacyBrowser" android:networkSecurityConfig="@xml/network_security_config" android:enableOnBackInvokedCallback="true" + android:localeConfig="@xml/locales_config" tools:ignore="DataExtractionRules,UnusedAttribute" > diff --git a/app/src/main/res/xml/file_provider_paths.xml b/app/src/main/res/xml/file_provider_paths.xml index d3af1279..ffbe1760 100644 --- a/app/src/main/res/xml/file_provider_paths.xml +++ b/app/src/main/res/xml/file_provider_paths.xml @@ -1,7 +1,7 @@ + + + + + + + + + + + +