[wp-trac] [WordPress Trac] #50183: Default locale should be en, not en-US

WordPress Trac noreply at wordpress.org
Sat May 16 11:07:13 UTC 2020


#50183: Default locale should be en, not en-US
-------------------------------+------------------------------
 Reporter:  getsnoopy          |       Owner:  (none)
     Type:  feature request    |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  I18N               |     Version:  trunk
 Severity:  normal             |  Resolution:
 Keywords:  close 2nd-opinion  |     Focuses:
-------------------------------+------------------------------
Changes (by ocean90):

 * keywords:   => close 2nd-opinion


Comment:

 Changing the default locale isn't quite an option as it would impact so
 much without a real benefit.

 There are already a few English locales you can choose from, namely: en_AU
 for Australia, en_CA for Canada, en_NZ for New Zealand, en_ZA for South
 Africa or en_GB for UK. Or art_xpirate for English Pirate – once finished.
 There's also a [https://make.wordpress.org/polyglots/2020/03/03/new-
 locale-english-india-hi/ pending request for India].
 Not sure what a request for English (International) would look like. Might
 be worth to discuss this with the existing locale teams of the English
 variants on [https://make.wordpress.org/polyglots/ make/polyglots].

 The value of the language attribute can already be filtered with the
 [https://developer.wordpress.org/reference/hooks/bloginfo/ bloginfo]
 filter for the `language` key or by filtering the translation for the
 `html_lang_attribute` string.
 We could consider returning `en` by default if the locale is set to
 `en_US` but should probably do this only for new sites.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/50183#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list