Lucee object methods reference

Object Method Locale.displayName

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]):string


The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
dspLocale locale  No The locale in which to return the name. The default is the locale defined for the request.