[wp-trac] [WordPress Trac] #15677: It is not possible to install multiple variants of the same language

WordPress Trac noreply at wordpress.org
Sat Aug 23 20:34:46 UTC 2014


#15677: It is not possible to install multiple variants of the same language
-------------------------------------+------------------
 Reporter:  caesarsgrunt             |       Owner:
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  4.0
Component:  I18N                     |     Version:  3.1
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------

Comment (by ocean90):

 [attachment:15677.7.patch]:

 * Ditches WPLANG constant
 * On upgrade set `WPLANG` option based on the WPLANG constant
 * An empty `WPLANG` option means the site is in English
 * Adjust `get_locale()` so that an empty `WPLANG` option overrides the
 WPLANG constant

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


More information about the wp-trac mailing list