Skip to content
main
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
t
 
 
 
 
 
 
 
 
 
 

README.md

Intl::LanguageTag::Simple

An extremely simple class implementing the core functions of a language tag. This is designed to be either extremely lightweight when you don't need the bulk of other language tag classes (and only need the language and region functionality). This simple class uses the first two runs of <alnum>, characters but can also be made directly using language and region attributes. The simple heuristic works sufficiently well for all known standard language tag standards.

For more powerful introspection, matching, etc, see one of the other classes.

Note that this class may generate invalid BCP-47 tags, and as such the string returned from the .bcp47 method is false-y.

About

An extremely simplistic and lightweight class implementing LanguageTaggish

Resources

License

Releases

No releases published

Packages

No packages published

Languages