[−][src]Macro language_tags::langtag
Utility for creating simple language tags.
The macro supports the language, exlang, script and region parts of language tags, they are separated by semicolons, omitted parts are denoted with mulitple semicolons.
Examples
it
:langtag!(it)
it-LY
:langtag!(it;;;LY)
it-Arab-LY
:langtag!(it;;Arab;LY)
ar-afb
:langtag!(ar;afb)
i-enochian
:langtag!(i-enochian)