Jump to content

Topic on MediaWiki talk:Sidebar

Translations into Chinese

13
Lakejason0 (talkcontribs)

Translations are wrapped in code blocks. Chinese has several variants, so it's needed to create three subpages for a single message (/zh, /zh-hans, /zh-hant). Text in bold are the messages' name.

mw-download

/zh, /zh-hans: 下载MediaWiki

/zh-hant: 下載MediaWiki

mw-extensions

/zh, /zh-hans: 下载扩展

/zh-hant: 下載擴充功能

mw-communication

/zh, /zh-hans: 联系交流

/zh-hant: 聯絡交流

mw-bugtracker

/zh, /zh-hans: 漏洞跟踪器

/zh-hant: 錯誤追蹤器


The last request has been 4 years ago and still no one is implementing it, so I just post it again.

Shirayuki (talkcontribs)
Shirayuki (talkcontribs)
Lakejason0 (talkcontribs)

from my own experience using MediaWiki, only creating zh, zh-hans, zh-hant is fine; regional variants can fallback correctly.

Lakejason0 (talkcontribs)

from my own experience using MediaWiki, only creating zh, zh-hans, zh-hant is fine; regional variants can fallback correctly.

Shirayuki (talkcontribs)
Shirayuki (talkcontribs)

Yes Done by creating the above 12 pages.

Lakejason0 (talkcontribs)

seems like regional variants fail to fallback on MediaWiki.org…… I didn’t expect this since only creating three works on my wiki’s sidebar.

Additional messages are below.

Lakejason0 (talkcontribs)

emmm, I tried using zh-tw and zh-cn here, and it seems that we also need to create these pages for regional variants (they are even missing another message mw-sandbox.) It doesn‘t make sense to me since my wiki works fine without creating regional variants messages for sidebar. Sorry for the inconvenience (I suffered from creating 8 pages for one message a lot of time, because some of the other messages can’t fallback correctly, but I didn’t realize that a multilingual wiki like MediaWiki.org cannot even correctly fallback the sidebar.)

so:

/zh-cn, /zh-sg, /zh-my should use /zh-hans;

/zh-tw, /zh-hk, /zh-mo should use /zh-hant.

/cdo doesn’t make sense to me; it seems like Vietnamese related.


mw-sandbox

/zh-hans, /zh-hant, /zh-cn, /zh-tw, /zh-hk, /zh-mo, /zh-my, /zh-sg: 沙盒


Sorry again and thanks for your help! that 12 pages is now correctly loaded and seems perfectly fine.

Lakejason0 (talkcontribs)

Sorry, the question is not fully solved; the 4 messages in main thread for 6 regional variants are still needed to be created (24 messages), and another 8 messages for mw-sandbox too.

Shirayuki (talkcontribs)

Per Template:GetFallback and Template:GetFallback2, Chinese language has 25 variants:

| gan | gan-hans | ii | wuu | za | zh | zh-cn | zh-my | zh-sg = zh-hans
| ami | cdo | gan-hant | hak | lzh | nan | pwn | szy | tay | trv | zh-classical | zh-hk | zh-min-nan | zh-mo | zh-tw = zh-hant
Lakejason0 (talkcontribs)

a lot of them are not Mandarin, and I have no knowledge of them. I guess you can just proceed that fallback logic to create pages.

Shirayuki (talkcontribs)
Reply to "Translations into Chinese"