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

WordPress Trac noreply at wordpress.org
Tue Aug 26 19:58:38 UTC 2014


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

 * owner:   => ocean90
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"29630"]:
 {{{
 #!CommitTicketReference repository="" revision="29630"
 Language packs: No WPLANG anymore.

 * The WPLANG constant is no longer needed. Remove define('WPLANG', '');
 from wp-config-sample.php. Populate WPLANG option based on the WPLANG
 constant. When get_option('WPLANG') is an empty string it will override
 WPLANG.
 * Introduce translations_api() which is available to communicate with the
 translation API. Move translation install related functions to a new file.
 * Replace mu_dropdown_languages() with wp_dropdown_languages().
 wp_dropdown_languages() is now populated by the translation API.
 * Remove wp_install_load_language() and allow load_default_textdomain() to
 switch a core translation.

 fixes #13069, #15677, #19760, #28730, #29281.
 }}}

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


More information about the wp-trac mailing list