Feature: Added app language selection.

This commit is contained in:
HeCodes2Much
2024-11-25 17:30:53 +00:00
parent 2577e995bc
commit b4e56876d1
8 changed files with 181 additions and 16 deletions

View File

@@ -410,6 +410,38 @@
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginVertical="10dp"
android:orientation="horizontal"
tools:ignore="MissingConstraints">
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/miscellaneous_appLanguage_text"
style="@style/TextDefaultStyle"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="left|center"
android:text="@string/settings_app_language"
android:textSize="@dimen/text_large"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:ignore="RtlHardcoded" />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/miscellaneous_appLanguage_control"
style="@style/TextDefaultStyle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="left|center"
android:text="@string/settings_app_language"
android:textSize="@dimen/text_large"
tools:ignore="RtlHardcoded" />
</androidx.appcompat.widget.LinearLayoutCompat>
<androidx.appcompat.widget.LinearLayoutCompat
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_system_language">System</string>
<!-- Strings used for basic parts of the launcher -->
<string name="favorite_apps">Favorite Apps</string>
<string name="hidden_apps">Hidden Apps</string>
@@ -132,6 +133,9 @@
<string name="settings_select_search_engine">Select a Search Engine</string>
<string name="settings_search_engine">Search Engine</string>
<string name="settings_select_app_language">Select a App Language</string>
<string name="settings_app_language">App Language</string>
<string name="settings_select_filter_strength">Select a Filter Strength</string>
<string name="settings_filter_strength">Filter Strength</string>