#25709: Template tag get_available_languages si doing unwanted translation
---------------------------------+--------------------------------------
Reporter: azurit | Owner: nobody
Type: Bug | Status: closed
Component: Template system | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+--------------------------------------
Comment (by claudep):
Note that language names in the default `settings.LANGUAGES` are in
English. `get_language_info` uses the `django.conf.locale.LANG_INFO`
dictionary which already contains untranslated language name for all
supported locales.
If you have specific needs not covered by the utilities from Django, it
should not be hard to provide your own piece of code for that (view
context if this is for a specific page, context processor or custom tag if
you need it more globally).
--
Ticket URL: <https://code.djangoproject.com/ticket/25709#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/064.b56035324846235b60dd05a26d817cb3%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.