PHP Classes
elePHPant
Icontem

PHP Browser Language: Get the language that the user browser is using

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-12-25 (27 days ago) RSS 2.0 feedNot yet rated by the usersTotal: 117 This week: 6All time: 8,952 This week: 71Up
Version License PHP version Categories
browserlanguage 1.0GNU Lesser Genera...7HTTP, PHP 5
Description Author

This class can get the language that the user browser is using.

It takes a look at the current request HTTP request headers and determines the language that the user browser is using.

The package filters the accepted language restricting to a given list of languages configured inside the class.

If the user browser language is none of the accepted languages, the package returns a default language code that is en for English.

Name: Rafa? Rafa? <contact>
Classes: 1 package by
Country: Poland Poland
Age: ???
All time rank: 415099 in Poland Poland
Week rank: 69 Up2 in Poland Poland Up

  Files folder image Files  
File Role Description
Plain text file BrowserLanguage.php Class Browser language

 Version Control Unique User Downloads Download Rankings  
 0%
Total:117
This week:6
All time:8,952
This week:71Up