PHP User Agent Language Detection
This script detects your system language as reported by the requesting user agent. It uses the PHP $_SERVER["HTTP_ACCEPT_LANGUAGE"] method. Please note: the script will only be able to determine the languages sent by the user agent visiting the site; the actual system language[s] is as far as we know not accessible to this type of [...]