You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified Chinese (Mainland) https://zh.wikipedia.org/zh-cn/
Traditional Chinese (Hong Kong) https://zh.wikipedia.org/zh-hk/
Traditional Chinese (Macao) https://zh.wikipedia.org/zh-mo/
Simplified Chinese (Malaysia) https://zh.wikipedia.org/zh-my/
Simplified Chinese (Singapore) https://zh.wikipedia.org/zh-sg/
Traditional Chinese (Taiwan) https://zh.wikipedia.org/zh-tw/
Well, I don't think we can achieve all these variants for now. So using zh-cn for Simplified Chinese and zh-tw for Traditional Chinese with cn.reactjs.org seems conventional.
Simplified Chinese https://cn.reactjs.org/zh-cn/
Traditional Chinese https://cn.reactjs.org/zh-tw/
Reacted by QiChang Li, Jimmy, Nat Alison, viko16, Haimeng Zhang and Yuan, Jun
using zh-cn for simplified and zh-tw for traditional is more intuitive as I see it more often. second @robertying, but that being said, zh-cn is a child category of zh-hans, and zh-tw ofzh-hant, with the parent categories meaning Chinese written in simplified scripts and Chinese written in traditional scripts ( according to the long outdated IANA). The CSS3 language code only uses two options though:zh-hans and zh-hant .
The other concern is typing. If it’s too long, it could be annoying and alienating. I don’t know how many websites in practice use two/five/seven letter codes.
Is zh-tw controversial or is it only tw?
I think zh-cn and zh-tw could be a good tradeoff overall between typing and accuracy. But I don’t know if those are considered problematic in any way.
The majority uses simplified Chinese, so we could keep the cn for simplified Chinese version doc.
And zh-tw is just a language code, it's not sensitive. We can use it for traditional one.
Simplified Chinese and Traditional Chinese are not just different characters, we use different phrases and words, so I think we need to spread the two translation in two repos.
Let's try to make this simple and efficient, do not make a small problem turn into a bigger one.
Thanks everyone for your perspectives. I’ll consult more people and learn more about this issue and then will post our proposal later today. I agree that we need to be efficient and not spend too much time on this. But on the other hand I want to make sure we’ve done due diligence here and don’t cause unnecessary controversy. I’ll post later!
And we also need a https://github.com/reactjs/zh-tw.reactjs.org repo for conveniences.
Let's keep this simple and neutral.
Thanks a lot, we could also wait for a better proposal.
I agree that this is simply a matter of two different languages. For example, terminologies such as servers (伺服器 vs. 服务器), libraries (函式庫 vs. 库), or even tutorials (教學手冊 vs. 教程) are phrased differently. The Chinese of tw or zh-tw will always be Traditional Chinese (繁體中文), which is pretty neutral in my opinion.
Maybe we need more discussion about how to handle the subdomain for Traditional Chinese Translation, but it seems pretty clear currently, which is cn is well known in representing Simplified Chinese Translation.
I quickly look through some famous repositories and here's what I found:
There's a bunch of cases, we can discuss the subdomain for Traditional Chinese Translation thoroughly in the future, but I suggest don't waste too much time on that for Simplified Chinese, if you also think cn is good enough in representing Simplified Chinese Translation.
I agree with the proposal to use cn for the Simplified Chinese docs. It seems to be commonly accepted in the front-end community and uncontroversial in this discussion.
I will need more time to choose the Traditional Chinese domain. I’ll post in this thread after we have done so, but for now this shouldn’t need to stop us from work. We haven’t set up a repo for it anyway yet.
After talking to people on different sides of this issue, we've decided to use the neutral script codes to avoid any appearance of the political stance. We don't intend to host multiple dialects of Traditional and Chinese translations, so zh-hans and zh-hant will be sufficient.
We could possibly add redirects from shorter domains in the future if enough people complain about it. But for now I think this is sufficient and addresses the issue. Thanks again to everyone for sharing your opinions and concerns.
Activity
zhongdeming428 commentedon Jan 31, 2019
I prefer
cnas the subdomain,just like https://cn.bing.com/?mkt=zh-CNgaearon commentedon Jan 31, 2019
What if somebody later wants to start a Traditional Chinese translation?
robertying commentedon Jan 31, 2019
Something like Wikipedia's:
https://zh.wikipedia.org/zh-cn/https://zh.wikipedia.org/zh-hk/https://zh.wikipedia.org/zh-mo/https://zh.wikipedia.org/zh-my/https://zh.wikipedia.org/zh-sg/https://zh.wikipedia.org/zh-tw/Well, I don't think we can achieve all these variants for now. So using
zh-cnfor Simplified Chinese andzh-twfor Traditional Chinese withcn.reactjs.orgseems conventional.https://cn.reactjs.org/zh-cn/https://cn.reactjs.org/zh-tw/QC-L commentedon Jan 31, 2019
I think it would be better to use cn.
Traditional Chinese translation use zh-hant or zh-tw.
shaodahong commentedon Jan 31, 2019
yeh, better to use cn
haimengzhang commentedon Jan 31, 2019
using
zh-cnfor simplified andzh-twfor traditional is more intuitive as I see it more often. second @robertying, but that being said,zh-cnis a child category ofzh-hans, andzh-twofzh-hant, with the parent categories meaning Chinese written in simplified scripts and Chinese written in traditional scripts ( according to the long outdated IANA). The CSS3 language code only uses two options though:zh-hansandzh-hant.https://www.w3schools.com/tags/ref_language_codes.asp
haimengzhang commentedon Jan 31, 2019
@gaearon I think we can maintain both versions?
zh-cnandzh-twseem to be most economic choicesgaearon commentedon Jan 31, 2019
The problem is we can’t have two languages on one domain. This would make the website more complex. So we need to choose two different subdomains.
gaearon commentedon Jan 31, 2019
cc @chloewlin, any thoughts?
QC-L commentedon Jan 31, 2019
I think it should be divided into two repos.
If together, it is not easy to synchronize with en repo.
gaearon commentedon Jan 31, 2019
Maybe let’s go with
cnfor Simplified andtwfor Traditional?chloewlin commentedon Jan 31, 2019
@gaearon I agree. I also prefer
cnfor Simplified andtwfor Traditional for its clarity and simplicity.QC-L commentedon Jan 31, 2019
@gaearon @chloewlin
NoNoNo, use
twis not good. I think it should be usedzh-tw.Because it will be very dangerous
shaodahong commentedon Jan 31, 2019
@QC-L i understand your worry, but weibo also use
tw.weibo.comdiscountry commentedon Jan 31, 2019
@gaearon @chloewlin Using
cnandtwwould cause political issues to the whole React project.We should avoid that, it's not wise to do so.
BTW, if we use
cnandtw, we also needhk, that would make a simple problem to a complex one.11 remaining items
gaearon commentedon Jan 31, 2019
Can tw be
zh-hantthen?haimengzhang commentedon Jan 31, 2019
gaearon commentedon Jan 31, 2019
The other concern is typing. If it’s too long, it could be annoying and alienating. I don’t know how many websites in practice use two/five/seven letter codes.
Is
zh-twcontroversial or is it onlytw?I think
zh-cnandzh-twcould be a good tradeoff overall between typing and accuracy. But I don’t know if those are considered problematic in any way.cyanial commentedon Jan 31, 2019
I don't think the developer will notice it. they are focusing their works. For me,
zh-twandzh-cnare not problematic. BTW, I'm a Chinese developer.discountry commentedon Jan 31, 2019
@gaearon
The majority uses simplified Chinese, so we could keep the
cnfor simplified Chinese version doc.And
zh-twis just a language code, it's not sensitive. We can use it for traditional one.Simplified Chinese and Traditional Chinese are not just different characters, we use different phrases and words, so I think we need to spread the two translation in two repos.
Let's try to make this simple and efficient, do not make a small problem turn into a bigger one.
shaodahong commentedon Jan 31, 2019
The focus on language, not country
gaearon commentedon Jan 31, 2019
Thanks everyone for your perspectives. I’ll consult more people and learn more about this issue and then will post our proposal later today. I agree that we need to be efficient and not spend too much time on this. But on the other hand I want to make sure we’ve done due diligence here and don’t cause unnecessary controversy. I’ll post later!
shaodahong commentedon Jan 31, 2019
cnfor simplified andzh-twfor traditional make easydiscountry commentedon Jan 31, 2019
@gaearon
cn.reactjs.orgfor simplified Chinese.zh-tw.reactjs.orgfor traditional Chinese.And we also need a
https://github.com/reactjs/zh-tw.reactjs.orgrepo for conveniences.Let's keep this simple and neutral.
Thanks a lot, we could also wait for a better proposal.
chloewlin commentedon Jan 31, 2019
I agree that this is simply a matter of two different languages. For example, terminologies such as servers (
伺服器vs.服务器), libraries (函式庫vs.库), or even tutorials (教學手冊vs.教程) are phrased differently. The Chinese oftworzh-twwill always beTraditional Chinese (繁體中文), which is pretty neutral in my opinion.hijiangtao commentedon Jan 31, 2019
Maybe we need more discussion about how to handle the subdomain for Traditional Chinese Translation, but it seems pretty clear currently, which is
cnis well known in representing Simplified Chinese Translation.I quickly look through some famous repositories and here's what I found:
There's a bunch of cases, we can discuss the subdomain for Traditional Chinese Translation thoroughly in the future, but I suggest don't waste too much time on that for Simplified Chinese, if you also think
cnis good enough in representing Simplified Chinese Translation.gaearon commentedon Jan 31, 2019
I agree with the proposal to use
cnfor the Simplified Chinese docs. It seems to be commonly accepted in the front-end community and uncontroversial in this discussion.I will need more time to choose the Traditional Chinese domain. I’ll post in this thread after we have done so, but for now this shouldn’t need to stop us from work. We haven’t set up a repo for it anyway yet.
Thank you all again! This was very helpful.
gaearon commentedon Jan 31, 2019
After talking to people on different sides of this issue, we've decided to use the neutral script codes to avoid any appearance of the political stance. We don't intend to host multiple dialects of Traditional and Chinese translations, so
zh-hansandzh-hantwill be sufficient.We could possibly add redirects from shorter domains in the future if enough people complain about it. But for now I think this is sufficient and addresses the issue. Thanks again to everyone for sharing your opinions and concerns.