[wpmu-trac] [WordPress MU Trac] #817: Default language is english no matter what WPLANG is

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Dec 16 13:22:52 GMT 2008


#817: Default language is english no matter what WPLANG is
------------------------+---------------------------------------------------
 Reporter:  Ueland      |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:  WPMU 2.0
Component:  component1  |     Version:  2.0     
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 Bug:
 Default languge for blogs does not change when WPLANG is set.

 Fix/Solution:
 editing: wp-includes/l10n.php:45 to add,

 if (empty($locale))
 $locale = WPLANG;

 Since apply_filters there return String(0).

-- 
Ticket URL: <http://trac.mu.wordpress.org/ticket/817>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser


More information about the wpmu-trac mailing list