you have to append strings first http://stackoverflow.com/questions/4386168/how-to-concatenate-strings-in-django-templates
and then call trans 2013/8/24 Some Developer <someukdevelo...@gmail.com> > I have a title and a header block which normally contain static text but > for some pages I need to display some dynamic information contained in a > template variable. > > So I might have the template variable: {{ app.name }} > > and the block code: > > {% block title %} > {% trans "{{ app.name }} Information" %} > {% endblock %} > > Obviously this doesn't work. What is the correct way to solve this issue? > I've done it in the past but I can't for the life of me remember how. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to > django-users+unsubscribe@**googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > To post to this group, send email to django-users@googlegroups.com. > Visit this group at > http://groups.google.com/**group/django-users<http://groups.google.com/group/django-users> > . > For more options, visit > https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> > . > -- Ariel Calzada Homepage: http://www.000paradox000.com Blog: http://blog.000paradox000.com "If I had asked people what they wanted, they would have said faster horses." -- Henry Ford -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. For more options, visit https://groups.google.com/groups/opt_out.