Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ijklam
Copy link

@ijklam ijklam commented Aug 1, 2024

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.

图片

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