Intl.DisplayNames
A polyfill for Intl.DisplayNames
.
#
Installation- npm
- yarn
#
Requirements#
FeaturesEverything in https://github.com/tc39/proposal-intl-displaynames.
#
Usage#
Via polyfill.ioYou can use polyfill.io URL Builder to create a polyfill script tag for Intl.DisplayNames
. By default the created URL does not come with any locale data. In order to add locale data, append Intl.DisplayNames.~locale.<locale>
to your list of features. For example: