The recommended way to do this is using the Accept-language http header.
That's available in ColdFusion as CGI.HTTP_ACCEPT_LANGUAGE.

More information is available in Section 14.4 of the following RFC.

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Regards

Spike

--------------------------------------------
Stephen Milligan
Code poet for hire
http://www.spike.org.uk


 

>-----Original Message-----
>From: 
>[EMAIL PROTECTED] 
>[mailto:[EMAIL PROTECTED]
o.uk] On Behalf Of [EMAIL PROTECTED]
>Sent: Tuesday, May 11, 2004 4:08 AM
>To: [EMAIL PROTECTED]
>Subject: [ cf-dev ] setting language to browser language
>
><P><!--StartFragment -->HI,<BR>I'm looking for a way to 
>automatically have the language set to French when someone 
>with a French browser goes to our site. Any ideas? 
><BR><BR>Shawn<BR><BR>PS here's the site <A 
>href="http://www.araxi.fr";>www.araxi.fr</A></P>
>
>
>
>               
>               This message has been sent from CFdeveloper 
>with username sfawcett ([EMAIL PROTECTED])
>               
>
>--
>These lists are syncronised with the CFDeveloper forum at 
>http://forum.cfdeveloper.co.uk/
>Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
>CFDeveloper Sponsors and contributors:-
>*Hosting and support provided by CFMXhosting.co.uk* :: 
>*ActivePDF provided by activepdf.com*
>      *Forums provided by fusetalk.com* :: *ProWorkFlow 
>provided by proworkflow.com*
>           *Tutorials provided by helmguru.com* :: *Lists 
>hosted by gradwell.com*
>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>


-- 
These lists are syncronised with the CFDeveloper forum at 
http://forum.cfdeveloper.co.uk/
Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
 
CFDeveloper Sponsors and contributors:-
*Hosting and support provided by CFMXhosting.co.uk* :: *ActivePDF provided by 
activepdf.com*
      *Forums provided by fusetalk.com* :: *ProWorkFlow provided by proworkflow.com*
           *Tutorials provided by helmguru.com* :: *Lists hosted by gradwell.com*

To unsubscribe, e-mail: [EMAIL PROTECTED]

Reply via email to