How to make the drupal website compatible to different languages ? Languages to be identified based on users location (IP detection)

Any ideas?

Thanks