[wpmu-trac] [WordPress MU Trac] #1109: Corsican appears in the blogs language drop down box

WordPress MU Trac wpmu-trac at lists.automattic.com
Tue Sep 8 05:31:16 UTC 2009


#1109: Corsican appears in the blogs language drop down box
------------------------+---------------------------------------------------
 Reporter:  selad       |       Owner:  somebody
     Type:  defect      |      Status:  new     
 Priority:  normal      |   Milestone:          
Component:  component1  |     Version:          
 Severity:  normal      |    Keywords:          
------------------------+---------------------------------------------------
 In the last version, support for translation was added to the time zone
 list of cities. Since it is a long list, and should be loaded only when
 the 'General Settings' page is loaded, it uses a separate translation file
 (continents-cities). The list of cities is here:
 http://trac.mu.wordpress.org/browser/tags/2.8.4a/wp-admin/includes
 /continents-cities.php

 Since I'm using the Hebrew translation I have two .mo files in my
 languages directory: he_IL.mo and continents-cities-he_IL.mo. Wpmu searchs
 for all *.mo files and checks the first two letters of the file name to
 determine the language. According to this, the continents-cities-he_IL.mo
 file is recognized as Corsican.

 This issue appears in options-general.php and for admin also in wpmu-
 options.php.

 As far as I know, all translations use a file name structure of 'aa_bb.mo'
 where 'aa' is the language and 'bb' is the country.  A possible solution
 to this issue would be to check for the underscore ('_') after the first
 two letters of the file name to make sure it’s a different language.

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


More information about the wpmu-trac mailing list