#12019 closed defect (bug) (fixed)
Corsican appears in the blogs language drop down box
| Reported by: | wpmuguru | Owned by: | nbachiyski |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | multisite |
Description
MU Trac Ticket: http://trac.mu.wordpress.org/ticket/1109
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
This still an issue? Looks like it. Flagging for Nikolay.