The SetLocale() function is used to set the active locale so that dates, numbers, and currencies may be correctly displayed in local formats. In a multi-locale application the SetLocale() function must be called in every request to set the locale for that specific request, and when processing has completed the locale should be set back to whatever it was previously. As such, it is advisable to save the desired locale to a SESSION variable once the user has selected it, so that it can be set automatically upon each request for each user. (Applies to: ColdFusion 4 (or later))
Leave a Reply