[wp-trac] [WordPress Trac] #13069: Use GlotPress list of locales instead of the one in ms.php

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


#13069: Use GlotPress list of locales instead of the one in ms.php
--------------------------+-------------------------
 Reporter:  nbachiyski    |       Owner:  nbachiyski
     Type:  defect (bug)  |      Status:  closed
 Priority:  high          |   Milestone:  4.0
Component:  I18N          |     Version:  3.0
 Severity:  minor         |  Resolution:  fixed
 Keywords:                |     Focuses:
--------------------------+-------------------------
Changes (by 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/13069#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list