betty.assertions.locale module#

Locale assertions.

betty.assertions.locale.assert_locale() Pipeline[Any, Locale]#

Assert that a value is a valid IETF BCP 47 language tag.