|
A user's browser language is actually determined by what they download, as well. IE, if you're french, you'll grab the french copy of FF / IE, which will then be set as default to French.
These settings can also be overwritten by your system language settings as well, incidentally, and ALSO, they're weighted settings - weighted differently in Firefox and IE.
Thus, to do it well, you'll need a combination of different browser checks, something to work out the ratios / weights of the language, and then also GeoIP.
Honestly, GeoIP for language selection is a pretty terrible idea. There are so many expats scattered around the world, so many people on VPN, so many people on AOL, etc, that you should rely on system and browser language.
Quick example: I'm in France, and depending who I'm talking to I'll switch the system language to French or English. A smart website knows the difference. To you, I'll be french :D
|