Skip to content

Change to support set multiple locals, and some small change#20

Open
ijklam wants to merge 3 commits into
c-lis:masterfrom
ijklam:master
Open

Change to support set multiple locals, and some small change#20
ijklam wants to merge 3 commits into
c-lis:masterfrom
ijklam:master

Conversation

@ijklam

@ijklam ijklam commented Aug 1, 2024

Copy link
Copy Markdown

Implement #19

Change to support set multiple locals/languages. This enables the phones which cannot set multiple languages in system settings to do so.

Tested on Xiaomi HyperOS 1, android 14

Screenshot_2024-08-01-22-29-18-542_jp co c_lis ccl morelocale

However,

  1. minSdk will be updated to 24, as version lower than 24 can not initialize a LocaleList.
  2. A new permission android.permission.WRITE_SETTINGS will be needed. And I don't know whether this permission can be granted by root, so I just make a button to jump to the settings.

图片

ijklam added 2 commits August 1, 2024 18:41
Show all the languages Java supported (need clear the app data)
Show more info in the locale list
@keiji keiji self-requested a review August 1, 2024 16:28
Simplify some code
Improve the way to move current locals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant