[wp-trac] [WordPress Trac] #48152: en as default language instead of en_us
WordPress Trac
noreply at wordpress.org
Wed Feb 28 16:14:12 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 tobifjellner):
@getsnoopy
"we made a decision a long time ago..." should here rather be read as:
Originally, WordPress was developed as an application that was only using
en_US. When localization was added, en_US was reserved as the source
locale.
If we would change that value now, then **there will be** a lot of strange
compatibility problems with many themes and plugins, especially with
custom-developed code.
And since you main argument is that you want to be able to just declare
"en" as your locale, then this would be easy accomplished by just adding
International English as a new locale. We won't even need to add any
translations to this locale, since WordPress by default uses the source
string if there's no translation available.
My biggest concern about that route is rather that some developers will
see this as an invitation to more prominently than today display other
languages in their code, and then just translate their
English|French|Spanish strings to "en", leaving en_US with the original
strings, and making translations to other languages trickier, since you'll
then not have our "common denominator" English as a source string.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/48152#comment:21>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list