intl
Intl is a built-in JavaScript object that provides language-sensitive functionality for internationalization and localization. It is defined by the ECMAScript Internationalization API (ECMA-402). The object offers constructors and related utilities that enable locale-aware formatting and comparison for numbers, dates and times, currencies, lists, and text, as well as locale display names.
Core constructors include Intl.NumberFormat, Intl.DateTimeFormat, and Intl.Collator. More recent additions include Intl.RelativeTimeFormat, Intl.ListFormat, Intl.DisplayNames, Intl.Segmenter, and
How it works: formatting and collation rules are driven by locale data, which is typically sourced from
Usage considerations include varying levels of support across browsers and runtimes, potential differences in locale coverage,
See also ECMA-402 and Unicode CLDR for the standards and data underpinning Intl functionality.