Inferior-minded people misuse such tools to determine which language to serve the users. That idea will NEVER work, because you can NEVER be sure what language a user understands based on IP. Should never have been let out in the open.
useful php functions for finding out which country or city the user is in. database of places isnt free.