[wp-trac] [WordPress Trac] #48152: en as default language instead of en_us
WordPress Trac
noreply at wordpress.org
Wed Feb 28 16:05:11 UTC 2024
#48152: en as default language instead of en_us
-------------------------+----------------------
Reporter: colomet | Owner: (none)
Type: enhancement | Status: closed
Priority: normal | Milestone:
Component: I18N | Version:
Severity: normal | Resolution: wontfix
Keywords: close | Focuses:
-------------------------+----------------------
Comment (by getsnoopy):
@swissspidy I'm not sure what you mean by a blog post; could you expand on
this?
About it being "too much work", I'm not sure I agree. The default locale
seems to not have a locale code in many places, so it would only require
changing the default strings that are shipped with the code. In the places
where it is hard-coded/assumed to be `en_US`, it would need to be changed
to `en`.
The plan would be to create a new `en_US` locale where we would copy the
current default strings, so any plugin or other code that depends on the
`en_US` locale would work seamlessly, assuming the `en_US` locale is
installed at that point. If they depend on the "default locale", that
would translate to the new default locale seamlessly as well.
For backwards-incompatible changes, we can have a migration plan in place
so that people who are currently using the default locale are migrated to
explicitly use the `en_US` locale, and we can release it in a major
version bump (which is meant for backwards-incompatible changes).
Regardless, I find the argument of "we made a decision a long time ago, so
we have to keep it that way" entirely unsatisfactory and unacceptable, as
this is seriously a huge issue. The more time that passes, the bigger and
more important this issue becomes. Everyday, I notice this being an issue
on more and more websites. It simply can't be ignored, and a resolution
such as "the users/admins can pick another locale" or "we can create
another locale" is clearly not a solution (if it was, this wouldn't be a
ticket in the first place).
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48152#comment:20>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list