#5591: i18n documentation: Incorrect statement about template variables in {%
trans %}
---------------------------------+------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: nobody
Status: new | Component: Documentation
Version: SVN | Keywords:
Stage: Unreviewed | Has_patch: 0
---------------------------------+------------------------------------------
The documentation at:
http://www.djangoproject.com/documentation/i18n/#in-template-code
states:
{{{It's not possible to use template variables in {% trans %} -- only
constant strings, in single or double quotes, are allowed.}}}
However, it works for me (django.templatetags.i18n.TranslateNode.render()
includes a call to resolve_variable).
--
Ticket URL: <http://code.djangoproject.com/ticket/5591>
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
-~----------~----~----~----~------~----~------~--~---