Publisher review:Visitors Language Detection Script will allow you to automatically adapt your site language to the user. Is your site translated into more than one language? This script will allow you to automatically adapt your site’s language to the users one.
The way this script will find the visitor’s language is fairly simple. First it will “ask” the client (a.k.a the http request sender) for its user agent and for its language, if set.
For this script you will have to set a list of “available” languages. If you just want to detect it you could stop the script here and return the language.
If you are detecting the language to use it for your website then continue reading: Before the script checks if the language was on the list it would check if it was the default or primary language, then if not, it would look up in the available languages, and if not again, then it would return to the default language.
Visitors Language Detection is a PHP script for Miscellaneous scripts design by urbanoalvarez.es.
It runs on following operating system: Windows / Linux / Mac OS / BSD / Solaris.
Operating system:Windows / Linux / Mac OS / BSD / Solaris