sebastiaandraaisma Posted January 4, 2007 Share Posted January 4, 2007 Hi, is there a way to determining the visitors OS language?I did a search but could not find any info regarding this.Any info is welcome :)Kind regards,Sebastiaan Link to comment https://forums.phpfreaks.com/topic/32856-determining-os-language/ Share on other sites More sharing options...
PFMaBiSmAd Posted January 4, 2007 Share Posted January 4, 2007 The only information that would be available to a PHP script are browser settings. These are about the only two that contain language setting information -[quote]$_SERVER['HTTP_ACCEPT_CHARSET']Contents of the Accept-Charset: header from the current request, if there is one. Example: 'iso-8859-1,*,utf-8'. $_SERVER['HTTP_ACCEPT_LANGUAGE']Contents of the Accept-Language: header from the current request, if there is one. Example: 'en'. [/quote] Link to comment https://forums.phpfreaks.com/topic/32856-determining-os-language/#findComment-152957 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.