Re: Different Chinese
Boyuan Yang <[email protected]> Fri, 20 Mar 2026 13:43:47 -0400
| Newsgroups | gmane.linux.debian.devel.www,gmane.linux.debian.devel.documentation |
|---|---|
| Organization | Debian Project |
| Message-ID | <[email protected]> |
在 2022-05-12四的 08:10 +0200,Laura Arjona Reina写道: > Hello all > > > El 11 de mayo de 2022 15:10:26 CEST, DU Haoran <[email protected]> escribió: > > Hi, > > According to the link, the first "Chinese" is zh-CN and the second one is zh-TW. > > > Thanks. I guess Sebul's question implicitly has a request for us to display the Chinese variant in the web page. > > I've had a look and I believe the issue comes because in /english/doc/manuals.def we remove the second part of the name of the locale: > > https://salsa.debian.org/webmaster-team/webwml/-/blob/master/english/doc/manuals.defs#L92 > > This is fine for our current status of Portuguese translations (in the website there is only the Brazilian variant and we display "Portuguese") but not fine for Chinese > because we usually have more than one variant. > > I will try to do some local tests omiting this line and see the build result or maybe add code to not to remove the variant part in the case of cn locales, but I guess the > manuals.def is used in several other web pages so better to see the side effects of the change in local tests prior to commit changes. If anybody has time or better idea > please go ahead. > > CC'ing debian-doc for the case they know better or find the time to do tests and fix this before I can come back to this. > I finally had time to look into it and the fix is currently online as https://salsa.debian.org/webmaster-team/webwml/-/commit/023899a8d271b59a952908a0e9a6c8f09e5c63a9 . I don't think there will be side-effects. But if there are any regressions, please feel free to let me know. Best, Boyuan Yang > > ________________________________ > > From: sebuls <[email protected]> > > Sent: Wednesday, May 11, 2022 7:00:01 AM > > To: [email protected] <[email protected]> > > Subject: Different Chinese > > > > Hi. > > <https://www.debian.org/doc/user-manuals.en.html#quick-reference>https://www.debian.org/doc/user-manuals.en.html#quick-reference > > shows two Chinese. > > Chinese: [HTML] [plain text] [PDF] > > Chinese: [HTML] [plain text] [PDF] > > One is zh-cn and the other is zh-tw. > > How to distinguish ? > > > > > > [ > > https://confirm.mail.kakao.com/v1/users/sebuls%40kakao%2Ecom/cmails/20220511080001%2EG1u-k_I5SAaNJuOGQ3hZoQ%40sebuls%2Ekakao%2Ecom/recipients/debian-www%40lists%2Edebian%2E > > org]
signature.asc
(application/pgp-signature, 858 B)
-----BEGIN PGP SIGNATURE----- iQJFBAABCgAvFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmm9h1MRHGJ5YW5nQGRl Ymlhbi5vcmcACgkQwpPntGGCWs4v8A/+Jk63VUwe0niRyBaKsuujuLWtMXuW7L35 ALmxaaCM5YPzlnRH+S19rTKDjTZPt3X6ss5v3m2av9Maof/4LLm5v+I0kujebwPD izsX+z4KF3rs0VUCsHokZLg/i1QGVyz/4iQKT/x/bo3FRiQvQy1Q/XHY8mFGc/NS AW9A0vivbUJYqB4aZvVXofgWEwcEEUW7LglOZHEZu6xgdfzEFLDJKXUqDaRVfc+3 1JzzFKvuxiaqYsJjVDSijMGy5ICZmijgPqQm/NqF8zihWtPkDMzXnP2sAIG8X2mQ SihyEQvB8M4MCjhnaCHh+jhiNHW11eTHfuiRqM8Tx9YLjlC9XUEHxdq9NzkA1CcO GOfQ7GJMYUEWnfQAJKSVEjl1dQzp4OWfz6TXPLYawkTI1RhE41nhofjSBS4mBOYB qhYJU8PixKJbazLJJJ/2X9tVGnwp2x0KtazHkiQE38RHYfs8waBGTlxprZknRbY1 Kg3YA5WFnzLnVy25EZ1a8J9foo8rA8WSZEpVPbL1VPe2QxoihCbdjEEUENVCVtJd oUXjt5PDTUPTXYL18nX6fscQR9+yfsyCpJFVFPK6zcn1Sk5naVPzDSF6ezFS4Tuz PZIfvK42Aza0ApUGUNg2R9Tns+ylXTKY9Njn59y+szd772DddpmAJvkMEjgBFSUv Un3K7vd6hi8= =SMpy -----END PGP SIGNATURE-----