Provides simple format and content validation for language tags based on BCP 47 and the IANA language tag registry.
LangString Python Library
IETF BCP 47 / RFC 5646 language tags in Django