Lucee Function Reference

getlocaledisplayname()

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.

Example

getlocaledisplayname([locale locale,[locale 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 locale  No Locale to use instead of the locale of the page when processing the function  
dspLocale locale  No The locale in which to return the name. The default is the locale defined for the request.