[wp-trac] [WordPress Trac] #16023: get_locale() should correct a shortened WPLANG

WordPress Trac wp-trac at lists.automattic.com
Thu Dec 30 20:07:18 UTC 2010


#16023: get_locale() should correct a shortened WPLANG
---------------------------------+-----------------------------
 Reporter:  nacin                |       Owner:
     Type:  defect (bug)         |      Status:  new
 Priority:  normal               |   Milestone:  Future Release
Component:  I18N                 |     Version:
 Severity:  normal               |  Resolution:
 Keywords:  has-patch 3.2-early  |
---------------------------------+-----------------------------

Comment (by nbachiyski):

 Locales standards are strange and we don't always follow them. That's why
 trying to automatically fix locale names will fail in many of the cases.

 If we want to fix the problem with Dutch we should just add a specific
 exception replacing {{{nl}}} with {{{nl_NL}}}. In addition to that we
 should show users a notification to ask them change the locale in their
 {{{wp-config.php}}}.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/16023#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list