The i18n.txt documentation says (bold mine):
Each RequestContext has access to three translation-specific variables:
- LANGUAGES is a list of tuples in which the first element is the
language code and the second is the language name (in that language).
However, the languages name seem to actually be in English (with default settings). When this test script is run:
#!/usr/bin/python
from django.conf import settings
settings.configure()
from django.template import RequestContext
print '\n'.join('%-5s %s' % l for l in RequestContext(None)['LANGUAGES'])
this is what is output on the terminal:
ar Arabic
bn Bengali
bg Bulgarian
ca Catalan
cs Czech
cy Welsh
da Danish
de German
el Greek
en English
es Spanish
es-ar Argentinean Spanish
eu Basque
fa Persian
fi Finnish
fr French
ga Irish
gl Galician
hu Hungarian
he Hebrew
hr Croatian
is Icelandic
it Italian
ja Japanese
ka Georgian
ko Korean
km Khmer
kn Kannada
lv Latvian
mk Macedonian
nl Dutch
no Norwegian
pl Polish
pt Portugese
pt-br Brazilian Portuguese
ro Romanian
ru Russian
sk Slovak
sl Slovenian
sr Serbian
sv Swedish
ta Tamil
te Telugu
tr Turkish
uk Ukrainian
zh-cn Simplified Chinese
zh-tw Traditional Chinese