android:fullBackupContent="false"
android:supportsRtl="true"
android:theme="@style/Theme.PrivacyCell"
- tools:ignore="DataExtractionRules" >
+ android:localeConfig="@xml/locales_config"
+ tools:ignore="DataExtractionRules,UnusedAttribute" >
<!-- Privacy Cell Activity. The label uses the short name so that it isn't truncated under the icon in the launcher on most phones.
`android:launchMode="singleTask"` makes the app launch in a new task instead of inside the task of the program that sends it an intent.
--- /dev/null
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+ Copyright 2022 Soren Stoutner <soren@stoutner.com>.
+
+ This file is part of Privacy Cell <https://www.stoutner.com/privacy-cell>.
+
+ Privacy Cell is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ Privacy Cell is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with Privacy Cell. If not, see <http://www.gnu.org/licenses/>. -->
+
+<!-- https://developer.android.com/guide/topics/resources/app-languages#app-language-settings -->
+<locale-config xmlns:android="http://schemas.android.com/apk/res/android">
+ <locale android:name="en"/> <!-- English. -->
+ <locale android:name="de"/> <!-- German. -->
+ <locale android:name="es"/> <!-- Spanish. -->
+ <locale android:name="fr"/> <!-- French. -->
+ <locale android:name="it"/> <!-- Italian. -->
+ <locale android:name="ru"/> <!-- Russian. -->
+</locale-config>