On 31.08.2011, at 18:15, Stephen Burrows wrote:
>> I found some use cases that are not yet possible with the form rendering
>> template tags. The biggest issue is that it's not possible to exchange field
>> labels with translated text. Currently there is no way of storing a
>> translated
>> string in the templates as variable, like {% trans "foo" as var %}
>
> Can't you already do this with blocktrans? [1]
No, blocktrans prohibits using other template tags in its scope like the
template tag created during the GSoC because the makemessages management command
scans template files to update the PO files (it needs simple template variable,
e.g. `{{ my_var }}``).
Jannis
--
You received this message because you are subscribed to the Google Groups
"Django developers" 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-developers?hl=en.