Automatically Detect Browser Language With PHP When you are - TopicsExpress



          

Automatically Detect Browser Language With PHP When you are working on a multi national website you may need the functionality to translate your website into different languages. There are many ways you can translate a website, in this article I will not go through the different ways you can translate a website. But one thing is that you will always need is to know what language you want display when a user hits your page. There are different options you can do with this, either have a default language and allow the user to switch to the language they want to use, or detect the language set in the browser and switch the language automatically. You can detect the language the browser is set to by looking at the server variable HTTP_ACCEPT_LANGUAGE. Read more: paulund.co.uk/detect-browser-language-in-php
Posted on: Thu, 20 Jun 2013 19:42:54 +0000

Trending Topics



Recently Viewed Topics




© 2015