Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ GetCultureInfoByIetfLanguageTag()

static CultureInfo System.Globalization.CultureInfo.GetCultureInfoByIetfLanguageTag ( string name)
inlinestatic

Definition at line 888 of file CultureInfo.cs.

889 {
890 if (name == "zh-CHT" || name == "zh-CHS")
891 {
892 throw new CultureNotFoundException("name", SR.Format(SR.Argument_CultureIetfNotSupported, name));
893 }
895 if (cultureInfo.LCID > 65535 || cultureInfo.LCID == 1034)
896 {
897 throw new CultureNotFoundException("name", SR.Format(SR.Argument_CultureIetfNotSupported, name));
898 }
899 return cultureInfo;
900 }
static CultureInfo GetCultureInfo(int culture)

References System.SR.Argument_CultureIetfNotSupported, System.SR.Format(), and System.Globalization.CultureInfo.GetCultureInfo().