summaryrefslogtreecommitdiffstats
path: root/mobile/android/base/resources/xml/preferences_locale.xml
diff options
context:
space:
mode:
Diffstat (limited to 'mobile/android/base/resources/xml/preferences_locale.xml')
-rw-r--r--mobile/android/base/resources/xml/preferences_locale.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/mobile/android/base/resources/xml/preferences_locale.xml b/mobile/android/base/resources/xml/preferences_locale.xml
new file mode 100644
index 000000000..80173c8e0
--- /dev/null
+++ b/mobile/android/base/resources/xml/preferences_locale.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:gecko="http://schemas.android.com/apk/res-auto"
+ android:title="@string/pref_category_language"
+ android:enabled="false">
+ <PreferenceCategory android:title="@string/pref_browser_locale">
+ <!-- No title set here. We set the title to the current locale in
+ GeckoPreferences. -->
+ <org.mozilla.gecko.preferences.LocaleListPreference
+ android:key="locale"
+ android:persistent="true"
+ android:defaultValue=""
+ />
+ </PreferenceCategory>
+</PreferenceScreen>