Opened 12 years ago
Closed 11 years ago
#28730 closed defect (bug) (fixed)
Installing British English language files removes the ability to select American English on Multisite
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 3.0 |
| Component: | I18N | Keywords: | |
| Focuses: | multisite | Cc: |
Description
Multisite provides a 'Site Language' dropdown on the General Settings screen if you've installed any language files.
If you install British English (en_GB) then the logic in mu_dropdown_languages() prevents the default English (ie. American English) option from showing up.
I guess if you're a particularly patriotic Brit then this could be seen as a feature rather than a bug, but hey, we should fix it either way.
Attachments (1)
Change History (8)
#3
@
12 years ago
- Keywords has-patch removed
Below the fold is what I was going to submit, then I looked at the source in /wp-admin/includes/ms.php and saw 'British English' is hard coded, whereas other English variants are not, so basically ignore what I have written below though for context I think it is kind of relevant ;)
I do believe as Ian suggested this will be looked at for the internationalisation goals for 4.0 and should address your issue you described and also take into account and how I see two 'English' select fields in the dropdown with no discernible difference of which English version is which (without viewing the source code).
Technically, I cannot reproduce this, though I see where you are coming from John.
Just on the English side of things this also occurs for en_AU English (Australia) and presumably en_CA English(Canada)
I have a dropdown with two 'English' select fields, one is en_AU and the other is the default en_US.
The HTML source of the dropdown
text/html
<tr>
<th width="33%" scope="row">Site Language</th>
<td>
<select name="WPLANG" id="WPLANG">
<option value="" selected="selected">English</option>
<option value="en_AU"> English</option>
</select>
</td>
</tr>
Switching between them correctly switches language from en_AU to en_US

I think that entire function is getting replaced in 4.0 with something that can handle language variants better.
related #28577, #15677, http://make.wordpress.org/core/2014/07/02/internationalization-project-updates/