Page MenuHomePhabricator

Some texts are not automatically converted from Simplified Chinese to Traditional Chinese on Chinese Wikivoyage
Open, Needs TriagePublic

Description

Some texts are not automatically converted from Simplified Chinese (zh-hans) to Traditional Chinese (zh-hant) on Chinese Wikivoyage ,see as below,

Eg. Hsinchu(https://zh.wikivoyage.org/zh-hant/%E6%96%B0%E7%AB%B9)

Desktop in Traditional Chinese, the Wikivoyage IP user is 維基導遊匿名使用者 :

Mobile in Traditional Chinese, the Community portal is 社群門戶 :

Please everyone can fix it, Thanks!

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptNov 24 2019, 1:17 PM
Aklapper renamed this task from Some texts are not automatically converted to Traditional Chinese on Chinese Wikivoyage to Some texts are not automatically converted from Simplified Chinese to Traditional Chinese on Chinese Wikivoyage.Nov 24 2019, 3:26 PM
Aklapper updated the task description. (Show Details)

Going to https://zh.wikivoyage.org/zh-hant/新竹?debug=true&uselang=qqx you can see that the ID of the string 维基导游匿名用户 is anonusers.

https://zh.wikivoyage.org/zh-hant/MediaWiki:anonusers shows that the string has not been locally modified, as there is no edit history. So the string comes from default MediaWiki itself. It can be seen in https://translatewiki.net/w/i.php?title=MediaWiki:Anonusers/zh-hant&action=edit which currently says:
{{SITENAME}} 匿名{{PLURAL:$2|使用者}} $1
That's not what is displayed; it is https://translatewiki.net/w/i.php?title=MediaWiki:Anonusers/zh-hans&action=edit currently says:
{{SITENAME}}匿名{{PLURAL:$2|用户}}$1

@Aklapper Thank you provide anonusers source, I has fix it.

In Traditional Chinese, I fix the {{SITENAME}} to {{int:SITENAME}}, Display is normal.
Fix as below,
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-hant
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-hk
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-mo
https://zh.wikivoyage.org/wiki/MediaWiki:Anonusers/zh-tw

But I don't know how to fix the Community portal in Mobile menu?

Xiplus added a subscriber: Xiplus.Nov 25 2019, 11:21 PM

For MediaWiki:Portal-url:
According to https://gerrit.wikimedia.org/g/mediawiki/skins/MinervaNeue/+/2022b35a2f9f1039d169efadb1d74ed2da4afa3d/includes/menu/Definitions.php#294.
The link text is generated from the page title. Therefore, it is impossible to fix it on the site.

About the Community portal in Mobile, I has change word to 社群入口 from 社区主页, the 社群入口 is same word for Simplified Chinese and Traditional Chinese, and from the 社群入口 using REDIRECT go to Wikivoyage:社区主页.

Modified as below:
MediaWiki:Portal-url
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url

Traditional Chinese
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hant
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hk
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-mo
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-tw

Simplified Chinese
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-hans
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-cn
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-my
https://zh.wikivoyage.org/wiki/MediaWiki:Portal-url/zh-sg

So, the display is normal, and this is a temporary modified, but it is not a complete modify.