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

Language detection / document - polish language #61

Open
Nikodemsky opened this issue Apr 3, 2024 · 0 comments
Open

Language detection / document - polish language #61

Nikodemsky opened this issue Apr 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@Nikodemsky
Copy link

Nikodemsky commented Apr 3, 2024

It's regarding thing i have mentioned in forums:
https://wordpress.org/support/topic/language-detection-5/

It detects en-GB, de-DE properly, if checked from dropdown - but the issue is that for example polish language does not have any other options like those above and is not detected - probably, because translation plugins like WPML and Polylang(just checked on both) is using "pl-PL" and not only "pl"(like the value from option in dropdown) and core Wordpress itself too btw.

Changing <html lang> is not always possibile and by semantics not really recommended.

Here you can check full list of locales codes:
https://gist.github.com/danielbachhuber/14af08c5faac07d5c0c182eb66b19b3e

or here, more officially:
https://translate.wordpress.org/

Also by those you can see that wordpress itself is not really using "en" as locale code anywhere, so it might be good idea to switch to "en-GB" for default locale.

Hope it's doable!

@over-engineer over-engineer added the enhancement New feature or request label Apr 3, 2024
@over-engineer over-engineer changed the title Langauge detection / document - polish language Language detection / document - polish language Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants