#4030: internationalization - auto translation of LANGUAGES
--------------------------------+-------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: hugo
Status: new | Component: Internationalization
Version: SVN | Keywords: LANGUAGES settings.py
Stage: Unreviewed | Has_patch: 0
--------------------------------+-------------------------------------------
Hi
When I access LANGUAGES in a template using:
{% get_available_languages as LANGUAGES %}
And then access the plain text language name in a template, like:
{{ LANGUAGES.1.1 }}
The plain text name appears automatically translated into the current
language.
For many uses this is not very useful as it is preferred to display the
language name in its native language, so the user who speaks that language
may recognize it and choose that option. I.e. If you are an English-
speaker and viewing a Spanish language page you'll will prefer to see an
option that says "English" rather than "Inglés". The way Django is
currently configured one has to put in a workaround to create this
behavior (personally I changed the plain text language name slightly to
defeat the translation...)
--
Ticket URL: <http://code.djangoproject.com/ticket/4030>
Django Code <http://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 post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---