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, inLocale])
→ returns string
writeOutput(getLocaleDisplayName());
writeOutput(' → ');
setLocale('de_ch');
writeOutput(getLocaleDisplayName());
Expected Result: English (United States) → Deutsch (Schweiz)
Signup for cfbreak
to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.