[wp-trac] [WordPress Trac] #19760: Allow localization of language names in multisite

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


#19760: Allow localization of language names in multisite
-------------------------+----------------------
 Reporter:  pavelevap    |       Owner:  ocean90
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  4.0
Component:  I18N         |     Version:  3.3.1
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |     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/19760#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list