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

[4.x] Improve locale preference selector #9739

Merged
merged 4 commits into from Mar 15, 2024
Merged

[4.x] Improve locale preference selector #9739

merged 4 commits into from Mar 15, 2024

Conversation

jasonvarga
Copy link
Member

@jasonvarga jasonvarga commented Mar 15, 2024

When the Intl extension is enabled, the dropdown options will be displayed in the appropriate languages. For example, the language name will also be displayed in the native language as hints:

CleanShot 2024-03-15 at 10 49 00

If you have the CP currently set to another language, the labels will be in your language:

CleanShot 2024-03-15 at 10 51 20

It also works with non-latin alphabets and RTL languages:

CleanShot 2024-03-15 at 10 53 51

When the Intl extension is not installed, you get the plain English options like would before this PR:

CleanShot 2024-03-15 at 10 54 40

Additionally, we have Czech and Japanese translations but they were missing from this dropdown, so they've been added.

@jasonvarga jasonvarga merged commit 06ef28d into 4.x Mar 15, 2024
35 checks passed
@jasonvarga jasonvarga deleted the language-selector branch March 15, 2024 16:03
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.

None yet

1 participant