The browser send an Accept-Language header with the request that you  
can read on the server-side.


Quoting Kelly <[email protected]>:

>
>
>   Its generally considered 'best practices' to set the language based
> on the browser settings rather then IP Address.
>
> Guy Morton wrote:  
>
>   You don't mention what sort of back-end setup you have but there is
> a free perl module for doing this called Geo::IP::PurePerl which uses
> a local .dat file to convert the client's IP to a country code. You
> can then use this info to derive a locale. I use it to find a local
> mirror for static content.
>
>  On 21/01/2010, at 2:58 AM, Christophe wrote:
>   
>
>   Hello,
>
> I have a bilingual Flex application. French and English.
> How to automatically set the French or English version in function of
> the IP adress localisation of the client PC ?
>
> Thank you,
> Christophe,
>
>   
>
> Links:
> ------
> [1] mailto:[email protected]?subject=re: [flexcoders] IP adress for Language
> [2] mailto:[email protected]?subject=re: [flexcoders] IP   
> adress for Language
> [3]   
> http://groups.yahoo.com/group/flexcoders/message/151752;_ylc=X3oDMTM5NDg2N2U3BF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRtc2dJZAMxNTE3NjIEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMjY0MDI3MTYyBHRwY0lkAzE1MTc1Mg--
> [4]   
> http://groups.yahoo.com/group/flexcoders/members;_ylc=X3oDMTJnNmM4ajRtBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2bWJycwRzdGltZQMxMjY0MDI3MTYy?o=6
> [5]   
> http://groups.yahoo.com/group/flexcoders;_ylc=X3oDMTJmZzlxcnVjBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDdnRsBHNsawN2Z2hwBHN0aW1lAzEyNjQwMjcxNjI-
> [6]   
> http://groups.yahoo.com/group/flexcoders/post;_ylc=X3oDMTJmcW5qZ3NiBF9TAzk3MzU5NzE0BGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNudHBjBHN0aW1lAzEyNjQwMjcxNjI-
> [7] http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> [8]   
> https://share.acrobat.com/adc/document.do?docid=942dbdc8-e469-446f-b4cf-1e62079f6847
> [9] http://www.mail-archive.com/flexcoders%40yahoogroups.com
> [10]   
> http://us.ard.yahoo.com/SIG=14kmreble/M=493064.13814333.13821539.13298430/D=groups/S=1705007207:MKP1/Y=YAHOO/EXP=1264034363/L=/B=dm8yKEPDhEk-/J=1264027163048178/K=2AK6pPPHkDaXYRrf6nwxRA/A=5922843/R=0/SIG=11ckn2mo6/*http://advision.webevents.yahoo.com/green/
> [11]   
> http://groups.yahoo.com/;_ylc=X3oDMTJlMWtxZW1yBF9TAzk3NDc2NTkwBGdycElkAzEyMjg2MTY3BGdycHNwSWQDMTcwNTAwNzIwNwRzZWMDZnRyBHNsawNnZnAEc3RpbWUDMTI2NDAyNzE2Mg--
> [12] mailto:[email protected]?subject=change   
> Delivery Format: Traditional
> [13] mailto:[email protected]?subject=email Delivery: Digest
> [14] mailto:[email protected]?subject=unsubscribe
> [15] http://docs.yahoo.com/info/terms/
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.

Reply via email to