PHP Classes
elePHPant
Icontem

Parse the User Language: Determine the language supported by the browser

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
2015-07-22 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 188 All time: 7,942 This week: 1,095Up
Version License PHP version Categories
util 1.0GNU Lesser Genera...5Localization, HTTP, PHP 5
Description Author

This class can determine the language supported by the browser.

It can check the value of the HTTP GET request value or cookie value named hl.

If none of those values are set, the class may check the HTTP Accept-language header to determine the languages supported by the user browser.

The class can also return the language name if it its either English, Chinese or Japanese.

  Performance   Level  
Name: Zhao <contact>
Classes: 3 packages by
Country: Japan Japan
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Files folder imagerbib (1 directory)

  Files folder image Files  /  rbib  
File Role Description
Files folder imageutil (1 directory)

  Files folder image Files  /  rbib  /  util  
File Role Description
Files folder imagei18n (1 file)

  Files folder image Files  /  rbib  /  util  /  i18n  
File Role Description
  Plain text file Language.php Class Language class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:188
This week:0
All time:7,942
This week:1,095Up