How to decide user's language
问题 I am looking for the best way to decided web user's language so that content can be presented in his native language. I want to know about pros and cons of different techniques. Few options I am looking at are: Using PHP geoIP extension which uses Maxminds database (free version) Accessing user language from browser using http_negotiate_language As I mentioned I don't want to dive deeper about the states and cities. I just want switch content based on users location/language. Do you have any