Gets a locale value and displays the name in a manner that is appropriate to a specific locale. By default, gets the current locale in the current locale's language.

locale.displayName( [ locale [, dspLocale ] ] )

Returns: String

Argument Description
locale, optional

Locale to use instead of the locale of the page when processing the function

locale, optional

The locale in which to return the name. The default is the locale defined for the request.

Alias: inlocale


There are currently no examples for this function

See also