in reply to Language Guess from IP
This sounds like a recipe for trouble. You are building in a lot of assumptions - that IP blocks do not cover more than one country, that each country has only one language, and that every user in that country is a native who speaks that language ( rather than a traveling businessman from abroad on dialup, for example ). Why not just provide alternate-language links at the top of the web page and forget the auto-detection?
|
---|
In Section
Seekers of Perl Wisdom