Overview
This is a simple PHP script that lets you get the current users browser language.
PHP Code:
$lang_array = explode(",",$_SERVER['HTTP_ACCEPT_LANGUAGE']); echo $language = $lang_array[0];