Forum Moderators: coopster
Just a quick question I hope somebody can help me with:
If I want to display a message specific to someone from, say, Spain, how would I do it? Does it involve using the IP address of the visitor?
I'm assuming it's easy enough to display a site in a certain language as well depending on where the visitor is from and would involve using a cookie so when they come back they'd still have the correct language?
Thanks
I'm assuming it's easy enough to display a site in a certain language as well depending on where the visitor is from...
Not just dependent on where the visitor is from, but what are the preferred languages as specified by the users browser. An english-only business man surfing on his english-only laptop in Spain would probably not want to see the website in Spanish?
Check the Accept-Language request header.