dramasea
dramasea

Reputation: 3490

How can I detect the user's country and modify the website to a country-specific version?

Can anyone tell me how to do that, just like when I surf google.com it directs me to google.co.uk. Thanks!

Upvotes: 1

Views: 314

Answers (1)

Matthew Flaschen
Matthew Flaschen

Reputation: 284786

This is called IP geolocation. There are a great variety of services and libraries for this. You can get more specifics if you tell us what platform you're on.

Upvotes: 1

Related Questions