Page MenuHomePhabricator

System messages become English on sites with language 中文(zh) (Chinese generic) when logged out with certain header
Closed, DeclinedPublic


When you're not logged in, visit Minecraft Wiki (ZH) with this header part accept-language: zh-CN,zh;q=0.9 will cause a situation that system messages on the whole page displays in English, instead of the expected Simplified Chinese (zh-cn or zh-Hans-CN). This problem also occured on my own wiki, with MediaWiki version 1.35.1. Only system messages that contains a /en subpage are affected.

image.png (683×1 px, 141 KB)

image.png (677×1 px, 121 KB)

This problem can cause a severe readability issue on Chinese sites.
It's reported by Traditional Chinese users that this kind of header part accept-language: zh-TW,zh;q=0.9 doesn't run into this problem, and will correctly show system messages in Traditional Chinese.
Currently, there's a workaround that by manually changing (or creating) the /zh-hans or zh-cn subpages, thus idk whether it's really related to Language Converter.

Event Timeline

Nikerabbit changed the task status from Open to Stalled.Jan 4 2021, 10:36 AM
Nikerabbit subscribed.

I guess you can reproduce this by selecting zh or zh-TW from user preferences?

There is no language conversion for system messages.

@Lakejason0: Could you please answer the last comment? Thanks in advance!

This is both stalled but also tagged for MW-1.35-release... Proposing to decline this task if @Lakejason0 does not answer as nothing can be done.

Aklapper removed a project: MW-1.35-release.

Unfortunately closing this Phabricator task as no further information has been provided.

@Lakejason0: After you have provided the information asked for and if this still happens, please set the status of this task back to "Open" via the Add Action...Change Status dropdown. Thanks!