language-tags

This project is a Python version of the language-tags Javascript project.


Keywords
lib, pypi-package
License
MIT
Install
pip install language-tags==1.2.0

Documentation

IANA Language Tags for Python

https://badge.fury.io/py/language-tags.png https://app.travis-ci.com/OnroerendErfgoed/language-tags.png?branch=develop https://coveralls.io/repos/OnroerendErfgoed/language-tags/badge.png https://readthedocs.org/projects/language-tags/badge/?version=latest

This Python API offers a way to validate and lookup languages tags.

Standard

It is based on BCP 47 (RFC 5646) and the latest IANA language subtag registry.

This project will be updated as the standards change.

Language-tags 1.0.0 only supports Python 3, for Python 2 support, please use language-tags 0.5.0.

JSON data

See the language-subtag-registry project for the underlying JSON data.

Javascript version

This project is a Python version of the language-tags Javascript project.