Some language tags show wrong language ("English") in Babel boxes
Open, LowPublic

Description

On Meta, Babel boxes for languages into which MediaWiki has not been translated (such as gos, pjt, abc...) show the language name as "English". This is because Meta has customized the text of Babel system messages to make Babel box links work correctly on global user pages, leading to T57473: i18n fallback uses message from i18n file before customized message from DB (MediaWiki: namespace).

See screenshot for an example (on translatewiki.net).

Details

Reference
bz62714
bzimport raised the priority of this task from to Low.
bzimport set Reference to bz62714.
bzimport added a subscriber: Unknown Object (MLST).

(In reply to Purodha Blissenbach from comment #0)

Created attachment 14831 [details]
Screenshot of seection of
https://translatewiki.net/w/i.php?title=User:Purodha showing several Babel
boxes of different languages all incorrectly saying

I don't see how frr and others are incorrect. Could you explain?

Attached:

(In reply to Andre Klapper from comment #1)

I don't see how frr and others are incorrect. Could you explain?

They are correct, indeed.
Change /all/some/ in my above report.
Aplologies for my wrong use of English and my typo.

Elitre added a subscriber: Elitre.Oct 17 2016, 2:04 PM

Why is it related? Because they're about related problems.

As for fixing them via CLDR, I'm not sure how CLDR could be expected to "fix" all the invalid language codes (e.g., including typos).

Nikki added a subscriber: Nikki.Nov 1 2016, 9:58 AM
TTO added a subscriber: TTO.Jan 1 2017, 1:04 PM

Interestingly, {{#babel:gos}} works on a local MW installation and on test2wiki and enwiki:

gos-N  This user has a native understanding of Gronings.

But it doesn't work on TWN or meta:

gos-N  This user has a native understanding of English.

This is apparently because the page MediaWiki:Babel-N-n has been customised on the latter two wikis, which confuses the hell out of the Babel extension.

If T57473: i18n fallback uses message from i18n file before customized message from DB (MediaWiki: namespace) was fixed, this would be too.

In T64714#2909699, @TTO wrote:

the page MediaWiki:Babel-N-n has been customised on the latter two wikis

Really? Where?

TTO added a comment.Jan 4 2017, 10:50 AM

On Meta it is This user has a [[m:$1|native]] understanding of [[m:$2|English]].

As for TWN, I looked at Purodha's user page, which was using gos-1 (not gos-N), so in fact the message in question is MediaWiki:Babel-1-n, which has been blanked. (Sorry for my incorrect comment before.)

Thanks. I deleted that message on twn.

TTO updated the task description. (Show Details)Feb 17 2017, 2:55 AM
TTO removed a subscriber: wikibugs-l-list.