Login   Register  
PHP Classes
elePHPant
Icontem

Colossal Mind Language Detector

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Peter Kahl
Name: Peter Kahl <e-mail contact>
Packages: 3 Browse all classes by Peter Kahl Browse all classes by
Country: Hong Kong Hong Kong - PHP jobs in Hong Kong
Age: ???
All time rank: 16009 in Hong Kong Hong Kong
Week rank: 474 Up4 in Hong Kong Hong Kong Up
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download .zip .tar.gz  
This class can detect the preferred language of the user accessing the site.

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.

  Classes of Peter Kahl  >  Colossal Mind Language Detector  >  Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Colossal Mind Language Detector
Base name: cm-lang-detector
Description: Detect the preferred language of the user
Version: 1.2.0
PHP version: 5.0
License: GNU General Public License (GPL)
All time users: 288 users
All time rank: 6170
Week users: 3 users
Week rank: 963 Up
 
  Groups   Freshmeat project   Rate classes User ratings  
  Applications   Related links   Files Files  

  Groups  
Group folder image Localization Internationalization and translations View top rated classes
Group folder image HTTP HTTP protocol clients, headers and cookies View top rated classes
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes


  Freshmeat project  
Project record: colossal-mind-language-detector
Popularity score: 19.62
Vitality score: 21.31

  User ratings  
Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related links  
Link Description
github.com/peterkahl/language-detector Find the latest version of this class on GitHub

  Files folder image Files  
File Role Description
Plain text file class.language-detector.php Class Class
Accessible without login Plain text file example-1.php Example Simple application, instructions.
Accessible without login Plain text file example-2.php Example Shows practical application on web page.
Accessible without login Plain text file README Doc. Readme
Accessible without login Plain text file CHANGELOG Doc. Change log
Accessible without login Plain text file LICENSE Lic. License

Download all files: cm-lang-detector.tar.gz cm-lang-detector.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.