Web features explorer

Intl.Locale

Widely available
Tags: javascript Groups: JavaScript > Internationalization

The Intl.Locale API parses Unicode locale identifiers, with language, region, and script codes, such as zh-Hans-CN or en-GB. To learn more, see Intl.Locale at MDN.

Compatibility