LocaleCode
A descriptor for a geographical region by both a language and country code. By combining these two, regional differences in a language can be addressed, such as with the request header parameter Accept-Language
following RFC 2616 & RFC 1766. This can also just refer to a language code, also RFC 2616/1766 compliant, as a default if there is no specific match for a country. Finally, can also be used to define default behavior if there is no locale specified.
One of:
LanguageCountry LanguageCode DefaultFallback
LanguageCountry
string
A concatenated version of the standard Language and Country codes, combined with a hyphen '-
'.
Pattern:
^[a-z][a-z]-[A-Z][A-Z]$
en-US