#12019 closed defect (bug) (fixed)
Corsican appears in the blogs language drop down box
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | I18N | Version: | |
| Severity: | normal | Keywords: | multisite |
| Cc: |
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.
Change History (3)
- Component changed from Multisite to i18n
- Keywords multisite added
- Milestone changed from Unassigned to 3.0
- Owner set to nbachiyski
- Resolution set to fixed
- Status changed from new to closed

This still an issue? Looks like it. Flagging for Nikolay.