Page MenuHomePhabricator

Dropdown value strings on Protection page are in default wiki language even though user prefers other language
Open, LowestPublic

Description

On http://imgur.com/a/Uk9el
please observe several strings are still Chinese, even though the user has English as their preferred language on this Chinese MediaWiki 1.26alpha (f37cee9) wiki.

Event Timeline

Jidanni raised the priority of this task from to Needs Triage.
Jidanni updated the task description. (Show Details)
Jidanni added a subscriber: Jidanni.
Aklapper renamed this task from A few Chinese strings show up even though the user prefers English. to Chinese dropdown value strings show up on Protection page even though user prefers English.Jun 3 2015, 7:34 AM
Aklapper triaged this task as Low priority.
Aklapper added a project: I18n.
Aklapper set Security to None.

All strings are dropdown values so that's probably related.

The drop down values are in content language because there are going into log and page history as written there. To make it readable by the major users on a wiki the default text are in content language.

I would support INVALID here, because it works as design.

OK that makes sense!

But that explanation needs to be shown in a footnote on the page where the phenomena are occurring.

Else the user thinks it is a bug every time he sees it.

Don't worry, the user is usually the WikiSysop, he will understand the explanation.

Aklapper lowered the priority of this task from Low to Lowest.Jun 5 2015, 9:07 AM
Aklapper renamed this task from Chinese dropdown value strings show up on Protection page even though user prefers English to Dropdown value strings on Protection page are in default wiki language even though user prefers other language.Jun 5 2015, 10:11 AM

I have an idea! Just use

<option value="2 hours">2小時 (2 hours)</option>

via something like

$user_lang != $site_lang ? " ($string_in_user_lang)" : ""

that way anybody can administrate any wiki, no matter what crazy
language the site default is!