Home     PHP / Javascript / Ajax
PHP Language Detector (redirection) Script

PHP Script Codes > redirection

Language Detector (redirection) Free

Rate: | Price: Free | Publisher: Office Site | Demo: | Views: 54

PHP Script Codes > Language Detector (redirection)
This class detects the preferred language of the user accessing the site. Number of languages is unlimited.

It can look at the HTTP request accept header and determine the preferred language of the user from a list of supported languages.

The detected language can fallback to a language associated to the user country in case the Accept header is not sent by the browser.

The detected language can be stored in a cookie to avoid needing to detect the language again in subsequent requests.

The class includes code examples for redirection. The number of languages is unlimited.