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 Quote 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] Quote Link to comment https://forums.phpfreaks.com/topic/32856-determining-os-language/#findComment-152957 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.