Intl.DisplayNames

GPTKB entity

Statements (30)
Predicate Object
gptkbp:instanceOf gptkb:REST_API
gptkbp:builtBy Intl.DisplayNames()
gptkbp:category internationalization
localization
gptkbp:definedIn ECMA-402 standard
gptkbp:example new Intl.DisplayNames(['en'], {type: 'region'}).of('US') // 'United States'
https://www.w3.org/2000/01/rdf-schema#label Intl.DisplayNames
gptkbp:introducedIn gptkb:ECMAScript_2021
gptkbp:method of()
gptkbp:option gptkb:logic
style
fallback
languageDisplay
gptkbp:parameter options
locales
gptkbp:partOf gptkb:ECMAScript_Internationalization_API
gptkbp:property resolvedOptions()
gptkbp:result localized display name for a given code
gptkbp:staticMethod no
gptkbp:styleOptionValue short
long
narrow
gptkbp:supportedBy modern browsers
gptkbp:typeOptionValue gptkb:currency
gptkb:language
gptkb:region
gptkb:screenwriter
gptkbp:usedFor displaying human-readable names for languages, regions, scripts, and currencies
gptkbp:bfsParent gptkb:Intl_object
gptkbp:bfsLayer 6