Hi Vlad,
I see the following zh- language codes :
https://w.wiki/55W
zh
zh-classical
zh-cn
zh-hans
zh-hant
zh-hk
zh-min-nan
zh-mo
zh-my
zh-sg
zh-tw
zh-yue
but the better list:
https://www.wikidata.org/wiki/Help:Wikimedia_language_codes/lists/all
it is complicated because : zh-yue = yue ; zh-min-nan = nan ;
zh-classical= lzh
But apparently there is no such values as
'zh-cn', 'zh-nans' etc.
I see "zh-cn" and "zh-hans" labels..
example: Q2 Earth:
https://www.wikidata.org/wiki/Special:EntityData/Q2.json
,
"zh-cn": {
"language": "zh-cn",
"value": "地球"
},
"zh-hans": {
"language": "zh-hans",
"value": "地球"
},
"zh-sg": {
"language": "zh-sg",
"value": "地球"
},
"zh-hk": {
"language": "zh-hk",
"value": "地球"
},
"zh-tw": {
"language": "zh-tw",
"value": "地球"
},
"zh-mo": {
"language": "zh-mo",
"value": "地球"
},
or a programmer example:
# curl -s
https://www.wikidata.org/wiki/Special:EntityData/Q2.json |
jq '.' | grep language | egrep 'nan|yue|lzh|zh-'
"language": "zh-hant",
"language": "yue",
"language": "zh-cn",
"language": "zh-hans",
"language": "zh-sg",
"language": "zh-hk",
"language": "zh-tw",
"language": "zh-mo",
"language": "nan",
"language": "lzh",
"language": "zh-my",
"language": "zh-hant",
"language": "zh-hans",
"language": "zh-cn",
"language": "zh-sg",
"language": "zh-hk",
"language": "zh-tw",
"language": "zh-mo",
"language": "lzh",
"language": "yue",
"language": "zh-my",
"language": "lzh",
Best,
Imre
Vladimir Ryabtsev <greatvovan(a)gmail.com> ezt írta (időpont: 2019. jún. 19.,
Sze, 2:05):
Hello,
I am looking for the list of supported language codes for variations of
Chinese. So far in API responses I found these:
zh
zh-cn
zh-hans
zh-hant
zh-hk
zh-tw
zh-mo
zh-sg
"Configure" link in "more languages" section leads to this page:
https://www.wikidata.org/wiki/Help:Navigating_Wikidata/User_Options#Babel_e…
Which in turn refers to
https://meta.wikimedia.org/wiki/Table_of_Wikimedia_projects#Projects_per_la…
But apparently there is no such values as 'zh-cn', 'zh-nans' etc.
How can I get the COMPLETE list of language codes (desirably with
description) for Chinese that is supported by Wikidata?
Best regards,
Vlad
P.S. I am re-sending the message as I got a reply from the previous
attempt saying something about moderator approval, but the message have not
got any further since then.
_______________________________________________
Wikidata mailing list
Wikidata(a)lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikidata