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. |