SetLocale

"-->
 SetLocale (new_locale) 

Description

Sets a country/language locale option for the current application session. The locale value encapsulates a set of attributes that determines the default display format of date, time, number, and currency values, according to language and regional conventions. Locales include the following:

Chinese (China)

 

Chinese (Hong Kong)

 

Chinese (Taiwan)

 

Dutch (Belgian)

nl_be

Dutch (Standard)

nl_NL

English (Australian)

en_AU

English (Canadian)

en_CA

English (New Zealand)

en_NZ

English (UK)

en_GB

English (US)

en_US

French (Belgian)

fr_BE

French (Canadian)

fr_CA

French (Standard)

fr_FR

French (Swiss)

fr_CH

German (Austrian)

de_AT

German (Standard)

de_DE

German (Swiss)

de_CH

Italian (Standard)

it_IT

Italian (Swiss)

it_CH

Japanese

ja_JP

Korean

ko_KR

Norwegian (Bokmal)

no_NO

Norwegian (Nynorsk)

no_NO_nynorsk

Portuguese (Brazilian)

pt_BR

Portuguese (Standard)

pt_PT

Spanish (Modern)

es_ES

Spanish (Standard)

es_ES

Swedish

sv_SE

Example

 <cfset tempLocale = SetLocale("Portuguese (Standard)")>  <cfoutput>  The locale is now set to: #GetLocale()#  </cfoutput>  


Inside ColdFusion MX
Inside Coldfusion MX
ISBN: 0735713049
EAN: 2147483647
Year: 2005
Pages: 579

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net