IETF BCP 47 / RFC 5646 language tags in Django
Project description
jangle
IETF BCP 47 / RFC 5646 language tags in Django
jangle is a simple way
Use in your project!
- install:
pip install django-jangle
- add
jangle
tosettings.INSTALLED_APPS
and apply migrations - run
manage.py loadjangledata
to populate database
Documentation
Documentation is available at jangle.readthedocs.io. Currently a work-in progress.
Data provided
- 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
- 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
Example usage
TODO
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
django_jangle-0.0a1.tar.gz
(19.5 kB
view hashes)
Built Distribution
Close
Hashes for django_jangle-0.0a1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d7a71c752232ce178e15ac2b57a83d6c3af5915fbad12b58214d49a2b87aed0c |
|
MD5 | c01fe27a4df35f5c874a8e7a198ffa67 |
|
BLAKE2b-256 | ab42d0ebad221a32bbcaa67b59633cefd933fc969763bf9c92d41c0c2b5b38aa |