I need to show different links for US and non-US visitors to my site.This is for convenience only, so I am not looking for a super-high degree of accuracy, and security or spoofing are not a concern.
I want to get current country code for oldes开发者_运维知识库t Windows systems. I was using GetLocaleInfo() with LOCALE_ICOUNTRY flag, but then I\'ve realized it returns wrong results (the same value
Can someone tell me how to set language of a web page on the knowledge of IP address of visitor so that he automatically gets page in his country\'s language. Of course if开发者_如何学Go that language
In my model I have a field: country = models.CharField(_(\'Country\'), max_length=2, choices=COUNTRIES)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.