cfdocs

getLocaleLanguage

Gets the language from where the locale belongs to.

getLocaleLanguage()
returns string

Output current Locale’s display name than set it to swiss locale

writeOutput(getLocaleLanguage());
writeOutput('');
setLocale('de_ch');
writeOutput(getLocaleLanguage());