get_language_info() [source]
The get_language_info() function provides detailed information about languages:
>>> from django.utils.translation import activate, get_language_info
>>> activate('fr')
>>> li = get_language_info('de')
>>> print(li['name'], li['name_local'], li['name_translated'], li['bidi'])
German Deutsch Allemand False
The name, name_local, and name_translated attributes of the dictionary contain the name of the language in English, in the l