在 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
Description: This is a digitally signed message part

