Page MenuHomePhabricator

Incorrect output for cmn on Meta
Closed, DuplicatePublic

Description

{{#babel:cmn}} displays "English" rather than "Mandarin Chinese" (or the equivalent translated text) on Meta. The correct text is displayed on other Wikimedia wikis I have tested, and is correct in the codes.txt file within the extension so this appears to be a Meta specific bug.

Event Timeline

KTC created this task.Oct 30 2015, 4:01 AM
KTC raised the priority of this task from to Needs Triage.
KTC updated the task description. (Show Details)
KTC added a subscriber: KTC.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptOct 30 2015, 4:01 AM
Restricted Application added a subscriber: StudiesWorld. · View Herald TranscriptNov 28 2015, 3:18 AM

@Nemo_bis: Shouldn't we fallback cmn to zh? By this way both this and something mentioned on Extension talk:Babel will be resolved?

Meta has a modified local message to interwiki-link the categories: https://meta.wikimedia.org/w/index.php?title=MediaWiki:Babel-N&oldid=11400659

A useful step would be to add the (English) locale name (not a cmn locale!) to CLDR, where it's currently missing: http://www.unicode.org/cldr/charts/28/summary/root.html
The request can be made at http://unicode.org/cldr/trac/newticket

Dereckson added a subscriber: Dereckson.

Per Nemo_bis comment.

Sorry, I should not easily report to CLDR, because we already have http://www.unicode.org/cldr/charts/28/summary/zh.html, create another dummy locale will make CLDR confusing

TTO added a subscriber: TTO.Jan 1 2017, 11:06 AM

Looks like the same issue as T152925: Babel Extension - Issue with ASE language code. The issue seems to be specific to Meta, which is rather odd. Did something go wrong with the local customizations?

Restricted Application removed a subscriber: Liuxinyu970226. · View Herald TranscriptJan 1 2017, 2:20 PM