【发布时间】:2013-09-19 15:45:57
【问题描述】:
我需要呈现翻译后的推荐信,并使用包含块作为推荐信代码,如下所示:
{% include "includes/blog/testimonial.html" with text="This is the best product I've ever used!" name="Tim Z" description="Store Manager" %}
如何使用blocktrans 和include 标签来呈现翻译后的包含标签?
谢谢!!
【问题讨论】:
标签: django django-templates django-i18n