Page MenuHomePhabricator

zh-tw interface users are wrongly shown zh-hans instead of zh-hant, message loading sequence doesn't check for fallback translations in mediawiki namespace
Closed, ResolvedPublic

Description

For instance on Wikipedia, where interface doesn't follow content language: https://translatewiki.net/wiki/File:Wikipedia_zh-tw_view.png
And on TWN before login (with zh.tw in preferences): https://translatewiki.net/wiki/File:Translate.net_zh-tw_view.png
I hope I filed this bug correctly, some background is on https://translatewiki.net/wiki/Thread:Talk:Main_Page/Translate.net_Main_page_does_not_show_right_translation_for_zh-tw_users_by_default (and there are several more related Support threads in the last years, IIRC).

This is probably a duplicate but I couldn't find the correct bug: bug 31838 is unrelated, bug 12521 I don't know and anyway both bug 13463 and bug 8056 (similar) should be fixed.


Version: unspecified
Severity: normal

Details

Reference
bz38397

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:11 AM
bzimport set Reference to bz38397.
bzimport added a subscriber: Unknown Object (MLST).

I didn't catch this bug report but knew it before and tried to fix it in gerrit 7376.

This bug should be split into two bugs:

One for the Wikipedia issue, which is causes by the language converter, gerrit

Another for the TWN issue. I assume TWN maintainers just leave those messages in MediaWiki namespace and use them on TWN instead of exporting them to PHP files and use the PHP message files on TWN. If I'm true, it's bug 1495.

(In reply to comment #4)

One for the Wikipedia issue, which is causes by the language converter,
Gerrit change #7376.

Merged, I assume fixed; reopen otherwise.

Another for the TWN issue. I assume TWN maintainers just leave those messages
in MediaWiki namespace and use them on TWN instead of exporting them to PHP
files and use the PHP message files on TWN. If I'm true, it's bug 1495.

Indeed this was mentioned as one of the things going to be fixed by bug 1495, whose fix however was reverted and waits reimplementation along the lines set by Niklas in another bug.