Module language_tag

Source
Expand description

I define the LanguageTag wrapper type, which guarantees that the underlying str is a valid BCP47 language tag.

Structsยง

InvalidLanguageTag
This error is raised when trying to parse an invalid language tag.
LanguageTag
This wrapper guarantees that the underlying str is a valid BCP47 language tag.