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.
Lucee Function Reference
Function GETLOCALEDISPLAYNAME
Example
getlocaledisplayname([string locale,[string dspLocale]]):string
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
locale | string | No | Locale to use instead of the locale of the page when processing the function |
dspLocale | string | No | The locale in which to return the name. The default is the locale defined for the request. |