Capture language of users browser?
With PHP, its in $_SERVER['HTTP_ACCEPT_LANGUAGE']
Originally Posted by Christophe27
var bLang = ( navigator.userLanguage || navigator.language ).substring( 0, 2 );
It's possible to determine the time zone (if the user is on time) with this jTimeZoneDetect script (See this demo page)... But time zones are not country nor Languages !
navigator object has a language of the browser. You can see all the attributes that has navigator using operator in: for(attr in navigator)
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)