#13706 closed defect (bug) (fixed)
Multisite language file is interpreted incorrectly
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 3.0 | Priority: | high |
Severity: | normal | Version: | 3.0 |
Component: | Multisite | Keywords: | has-patch |
Focuses: | Cc: |
Description
In my language folder are following files:
- continents-cities-de_DE.mo
- de_DE.mo
- ms-de_DE.mo
The bug: ms-de_DE.mo is interpreted as Malay: http://grab.by/4Irm
HTML Output:
<select id="WPLANG" name="WPLANG"> <option selected="selected" value="">English</option> <option value="de_DE"> German</option> <option value="ms-de_DE">Malay</option> </select>
Attachments (3)
Change History (13)
#5
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
nacin, sry, your patch doesn't work.
var_dump(strpos( $lang_file, 'ms-' )) => int(44) != 0 => will be added to $languages[]
#8
@
15 years ago
Full path, gotcha. Since our lang files usually use underscores, ms_MY, I think this is safe.
Note: See
TracTickets for help on using
tickets.
I don't know if filter-ms.patch will affect the real ms language file.