public static CultureInfo GetCultureInfoByIetfLanguageTag (string name)
{
// There could be more consistent way to implement
// it, but right now it works just fine with this...
switch (name) {
case "zh-Hans":
return GetCultureInfo ("zh-CHS");
case "zh-Hant":
return GetCultureInfo ("zh-CHT");
default:
return GetCultureInfo (name);
}
}