Based on BCP 47 (RFC 5646) and the latest IANA language subtag registry.
This project will be updated as the standards change.
See the language-subtag-registry project for the underlying JSON data.
This project is a Python version of the language-tags Javascript project.