> I'm having a template, where a link shall be inside a translation- > marked text. (...)
I've recently run across a similar problem and solved it using some nasty with-tag trickery. In your case the following code should do the trick: {% url login as login_url %} {% with "<a href=\""|add:login_url|add:"\">" as link_begin %} {% with "</a>" as link_end %} {% blocktrans %}Please {{ link_begin }}login{{ link_end }} to proceed. {% endblocktrans %} {% endwith %} {% endwith %} {% blocktrans %} also has a builtin "with" support, but for some reason it does not support escaping special characters. So the following doesn't work: {% blocktrans with "<a href=\""|add:login_url|add:"\">" as link_begin and "</a>" as link_end %}Please {{ link_begin }}login{{ link_end }} to proceeed.{% endblocktrans %} --mp
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.