From 41179064140f46f6bc2deb11cb13cccc7c961e3a Mon Sep 17 00:00:00 2001 From: Leonard Dizon Date: Wed, 19 Oct 2022 00:45:56 +0800 Subject: [PATCH] Create locales_config.xml for per-app language --- uhabits-android/src/main/AndroidManifest.xml | 1 + .../src/main/res/xml/locales_config.xml | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 uhabits-android/src/main/res/xml/locales_config.xml diff --git a/uhabits-android/src/main/AndroidManifest.xml b/uhabits-android/src/main/AndroidManifest.xml index 394096470..e1d3d1103 100644 --- a/uhabits-android/src/main/AndroidManifest.xml +++ b/uhabits-android/src/main/AndroidManifest.xml @@ -31,6 +31,7 @@ android:backupAgent=".HabitsBackupAgent" android:icon="@mipmap/ic_launcher" android:label="@string/main_activity_title" + android:localeConfig="@xml/locales_config" android:supportsRtl="true" android:theme="@style/AppBaseTheme"> diff --git a/uhabits-android/src/main/res/xml/locales_config.xml b/uhabits-android/src/main/res/xml/locales_config.xml new file mode 100644 index 000000000..a0fefcb50 --- /dev/null +++ b/uhabits-android/src/main/res/xml/locales_config.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file