Made locale non dependent on phone OS settings, but choosable on app settings (#4366)

* setLocale added

* localization added

* test complete

* resolved conflicts

* issues resolved

* minor issues fixed

* Made methods concise

* Issues fixed
This commit is contained in:
Ayan Sarkar 2021-05-15 20:00:03 +05:30 committed by GitHub
parent 9562fd1f2c
commit 1408fe5e53
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 139 additions and 40 deletions

View file

@ -610,6 +610,7 @@ Upload your first media by tapping on the add button.</string>
<string name="media_detail_step_title">Media Details</string>
<string name="menu_view_category_page">View category page</string>
<string name="menu_view_item_page">View item page</string>
<string name="app_ui_language">App user interface language</string>
<string name="remove">Removes a caption and description</string>
<string name="read_help_link">Read more</string>

View file

@ -26,6 +26,12 @@
android:summary="@string/use_external_storage_summary"
android:title="@string/use_external_storage" />
<ListPreference
android:key="appUiDefaultLanguagePref"
app:useSimpleSummaryProvider="true"
app:singleLineTitle="false"
android:title="@string/app_ui_language" />
<ListPreference
android:key="descriptionDefaultLanguagePref"
app:useSimpleSummaryProvider="true"