Skip to main content

A pluggable django app that provides a comprehensive language choices field

Project description

Language Field for Django apps. Includes all language choices from the IANA Language Subtag Registry.

Included is:

  • LanguageField, a model field
  • LanguageField, a form field (Not yet implemented)
  •, a script to parse the latest language list from IANA


pip install django-language-field

Basic usage

Add languages to the list of the installed apps in your file:


Then, you can use it like any regular model field:

from languages.fields import LanguageField

class MyModel(models.Model):
    language = LanguageField()

Internally, LanguageField is based upon CharField and by default represents the as a string.

As with CharField’s, it is discouraged to use null=True use blank=True if you want to make it a non-required field.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-language-field, version 0.0.3
Filename, size & hash File type Python version Upload date
django-language-field-0.0.3.tar.gz (69.5 kB) View hashes Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page