web-feature: Intl.Locale

baseline logo Widely available

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