Settings: add custom language/locale chooser (SDK33+).

Corsican was not available using Android's per-app-language-chooser.

Fixes #1974.
This commit is contained in:
Dennis Guse
2024-11-30 09:29:30 +01:00
parent cba55eab74
commit 4313b51e1e
4 changed files with 119 additions and 0 deletions
+3
View File
@@ -278,6 +278,9 @@
<string name="settings_ui_dynamic_colors_key" translatable="false">uiDynamicColors</string>
<bool name="settings_ui_dynamic_colors_default" translatable="false">false</bool>
<!-- androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode() -->
<string name="locale_key" translatable="false">localeKey</string>
<!-- androidx.appcompat.app.AppCompatDelegate.setDefaultNightMode() -->
<string name="night_mode_key" translatable="false">nightMode</string>
<string name="night_mode_default" translatable="false">@string/night_mode_system_value</string>
+3
View File
@@ -370,6 +370,9 @@ limitations under the License.
<string name="settings_recording_track_name_number_option">Number</string>
<string name="settings_recording_track_name_title">Default track name</string>
<string name="settings_recording_idle_timeout_title">Idle threshold</string>
<string name="settings_locale_title">Language</string>
<string name="settings_locale_system_default">System default</string>
<string name="settings_night_mode_title">UI Theme</string>
<string name="settings_night_mode_option_system">System</string>
<string name="settings_night_mode_option_day">Day</string>