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.
GetLocaleDisplayName( locale=locale, dspLocale=locale );
Returns: String
| Argument | Description |
|---|---|
|
locale
locale,
optional
|
edit
Locale to use instead of the locale of the page when processing the function |
|
dspLocale
locale,
optional
|
edit
The locale in which to return the name. The default is the locale defined for the request. Alias: inLocale |
Examples
edit writeDump(getLocaleDisplayName());
See also
- Internationalization
- locale.displayName()
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)