+ // If we have been provided the value in $_GET it overrides browser value
+ if (isset($_GET['accept-language']) && $_GET['accept-language'])
+ {
+ $_SERVER["HTTP_ACCEPT_LANGUAGE"] = $_GET['accept-language'];
+ $sLangString = $_GET['accept-language'];
+ }
+ else if (isset($_SERVER["HTTP_ACCEPT_LANGUAGE"]))
+ {
+ $sLangString = $_SERVER["HTTP_ACCEPT_LANGUAGE"];
+ }