I'm not sure what your exact requirements are but if you need to simply show content in another language then also take a look at the "Accept-Language" header sent from the user-agent.
In certain circumstances it would be better than IP Geolocation which often changes on a monthly basis and to keep the results up to date would usually require a subscription to a dedicated service such as ip2location.com
Just a thought.
- Mike
__________________