From 2abfff1b7b7cae9ec318e0c26d42f62b9cbebbee Mon Sep 17 00:00:00 2001 From: Soren Stoutner Date: Wed, 30 Nov 2022 11:29:12 -0700 Subject: [PATCH] Add per-app language support. https://redmine.stoutner.com/issues/935 --- app/build.gradle | 1 + app/src/main/AndroidManifest.xml | 3 ++- app/src/main/res/xml/locales_config.xml | 29 +++++++++++++++++++++++++ 3 files changed, 32 insertions(+), 1 deletion(-) create mode 100644 app/src/main/res/xml/locales_config.xml diff --git a/app/build.gradle b/app/build.gradle index 160ef73..2925b17 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -31,6 +31,7 @@ android { targetSdk 33 versionCode 10 versionName "1.8.1" + resConfigs "en", "de", "es", "fr", "it", "ru" } buildTypes { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index f79605c..528c4c3 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -52,7 +52,8 @@ android:fullBackupContent="false" android:supportsRtl="true" android:theme="@style/Theme.PrivacyCell" - tools:ignore="DataExtractionRules" > + android:localeConfig="@xml/locales_config" + tools:ignore="DataExtractionRules,UnusedAttribute" > + + + + + + + + + + -- 2.45.2