Intl.DisplayNames
Input
Output
region
{
style: "long",
type: "region"
}
United States
{
style: "short",
type: "region"
}
US
{
style: "narrow",
type: "region"
}
US
language
{
languageDisplay: "dialect",
type: "language"
}
American English
{
languageDisplay: "standard",
type: "language"
}
English (United States)
currency
{
type: "currency"
}
US Dollar
script
{
type: "script"
}
Latin
calendar
{
type: "calendar"
}
Gregorian Calendar
dateTimeField
{
style: "short",
type: "dateTimeField"
}
mo.
{
style: "long",
type: "dateTimeField"
}
month
{
style: "narrow",
type: "dateTimeField"
}
mo