Login   Register  
PHP Classes

RFC 1766: Map idiom tag to its names as defined in RFC 1766

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2006-09-01 (8 years ago) RSS 2.0 feedNot enough user ratingsTotal: 412 All time: 5,793 This week: 1,457Up
Version License Categories  
rfc1766 1.0GNU General Public Lice...Localization, Validation
Description Author  

This class is capable of mapping the identifiers of idioms and country cods defined by ISO standards to the respective english names as recommended in the RFC 1766.

The class contains the list of all valid idiom and country codes defined in ISO 636 and ISO 3166 specifications respectively.

It also has two functions, one to validate RFC 1766 style idiom tags, and one to fetch a human readable name in english for a given idiom tag.

The class may be useful if you want to implement a multilingual system that needs to use the idiom identifier used in the application.

Picture of MC Breit
Name: MC Breit <contact>
Classes: 7 packages by
Country: Germany Germany
Age: 114
All time rank: 30216 in Germany Germany
Week rank: 443 Down18 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file rfc1766.class.php Class The main class
Accessible without login Plain text file test.php Example A simple test/demo of the class

 Version Control Reuses Unique User Downloads Download Rankings  
 0%1Total:412All time:5,793
 This week:0This week:1,457Up
 User Comments (1)  
5 years ago (kishore kumar)