IETF BCP 47 / RFC 5646 language tags in Django
Install jangle from PyPI:
pip install django-jangle
...or the latest version from GitHub:
pip install git+https://github.com/egginabucket/jangle.git
Add jangle to your project's installed apps:
# settings.py
INSTALLED_APPS = [
...
"jangle",
]
Migrate database:
python manage.py migrate
Save jangle data to the project's database:
python manage.py loadjangledata
Documentation is available at jangle.readthedocs.io. Currently a work in progress.
- ISO 15924 scripts from unicode.org
- ISO 639-1, 639-2/b, 639-2/t and 639-5 codes and names from the Library of Congress
- ISO 639-3 code set, names and macrolanguages from SIL International
- ISO 3166-1 and UN M.49 regions - currently a WIP
- Full IANA subtag registry saved across various tables, including grandfathered and redundant tags. Linked with other standards and used to construct and verify language tags