在我的模板中包含{% i18n %}我收到这个错误:
Only options for 'trans' are 'noop', 'context "xxx"', and 'as VAR'.
我的模板的这一行:
title="{% trans site_title = settings.APP_SHORT_NAME %}RSS feed from {{ site_title }}{% endtrans %}"
可能应该是:
title="{% blocktrans with site_title = settings.APP_SHORT_NAME %}RSS feed from {{ site_title }}{% endblocktrans %}"