<div dir="ltr"><div class="gmail_default" style="font-family:times new roman,serif">In particular, in CLDR (and ICU) we use the 'shortest form' as the canonical form for language tagging. So as Markus says, we tag content for "en-Latn-US" with "en", and "zh-Hans-CN" (or "cmn-Hans-CN") as simply "zh".<br>
</div><div class="gmail_default" style="font-family:times new roman,serif"><br></div><div class="gmail_default" style="font-family:times new roman,serif">One clarification. When looking up resources, we have a matching process that takes list of desired user languages, and finds the best match in the list of supported languages. So if the user's desired languages are "ja-JP, zh-CN", and the supported languages are "zh, en", then the match would be "zh".</div>
</div><div class="gmail_extra"><br clear="all"><div><font face="'times new roman', serif"><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px"><div></div></div>
<div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px"><br></div><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px">
<a href="https://plus.google.com/114199149796022210033" target="_blank">Mark</a></div><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px"><i><br></i></div><div style="background-color:transparent;margin-top:0px;margin-left:0px;margin-bottom:0px;margin-right:0px">
<i>— Il meglio è l’inimico del bene —</i></div></font><div><div><font face="'times new roman', serif"><i><span style="font-style:normal"><i></i></span><i></i></i></font></div></div></div>
<br><br><div class="gmail_quote">On Mon, Jul 29, 2013 at 1:03 AM, Markus Scherer <span dir="ltr"><<a href="mailto:markus.icu@gmail.com" target="_blank">markus.icu@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="im">On Sun, Jul 28, 2013 at 2:00 PM, Peter Constable <span dir="ltr"><<a href="mailto:petercon@microsoft.com" target="_blank">petercon@microsoft.com</a>></span> wrote:<br></div><div class="gmail_extra">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-CA" link="#0563C1" vlink="#954F72">
<div><div class="im">
<p class="MsoNormal">Can anyone explain why it is that Wikipedia is tagging Simplified Chinese content as simply “zh”?
<u></u><u></u></p>
</div><p class="MsoNormal"><u></u>[...]<u></u></p><div class="im">
<p class="MsoNormal">That’s not good practice and will lead to users encountering buggy behaviour (e.g., content being displayed using the wrong fonts).<br></p></div></div></div></blockquote><div><br></div><div>I think it is very common that developers assume that "zh" defaults to "zh-Hans-CN", just like they assume that "en" defaults to "en-Latn-US", "de" to "de-Latn-DE", etc.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div><div>markus</div></font></span></div></div></div>
<br>_______________________________________________<br>
Ietf-languages mailing list<br>
<a href="mailto:Ietf-languages@alvestrand.no">Ietf-languages@alvestrand.no</a><br>
<a href="http://www.alvestrand.no/mailman/listinfo/ietf-languages" target="_blank">http://www.alvestrand.no/mailman/listinfo/ietf-languages</a><br>
<br></blockquote></div><br></div>