Sets the country/language locale for CFML processing
and the page returned to the client. The locale value
determines the default format of date, time, number, and
currency values, according to language and regional

setLocale(new_locale) → returns String

Argument Reference for the setLocale function


Required: Yes
The name of a locale; for example, "English (US)" Values:
  • Chinese (China)
  • Chinese (Hong Kong)
  • Chinese (Taiwan)
  • Dutch (Belgian)
  • Dutch (Standard)
  • English (Australian)
  • English (Canadian)
  • English (New Zealand)
  • English (US)
  • English (UK)
  • French (Belgian)
  • French (Canadian)
  • French (Standard)
  • French (Swiss)
  • German (Austrian)
  • German (Standard)
  • German (Swiss)
  • Italian (Standard)
  • Italian (Swiss)
  • Japanese
  • Korean
  • Norwegian (Bokmal)
  • Norwegian (Nynorsk)
  • Portuguese (Brazilian)
  • Portuguese (Standard)
  • Spanish (Modern)
  • Spanish (Standard)
  • Swedish

Fork me on GitHub