我正在使用 Django 和 Angular,在我的模板中我有:
<table class="table">
<thead>
<th>{% trans 'Name' %}</th>
</thead>
<tbody>
<tr ng-repeat="word in allwords">
<td>{% trans word.name %}</td>
</tr>
</tbody>
</table>
这条线翻译得很完美<th>{% trans 'Name' %}</th>
但是那行根本没有翻译:<td>{% trans word.name %}</td>
我准确地说我也尝试过blocktrans,但没有效果。
当然,我做了编译消息来测试它。
请问你能帮帮我吗 ?
非常感谢 !