Module language_tag::tags::langtag [] [src]

Structs

LangTag

This stores a LangTag that define a language (with script, country, ...) according to BCP47 standard. You have probably already seen some. Examples: "en-US" (english as used in US), "fr-FR" (french as used in France), "zh-cmn-Hans-CN" (Chinese, Mandarin, Simplified script, as used in China) Two possibilities to create a LangTag: parse a string or use the builder.