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 raised the priority of this task from to Needs Triage.
KTC updated the task description. (Show Details)
KTC subscribed.

@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

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

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?