[Django]-Trans And Translate Not Working On Any Pages

2👍

According to Django documentation (and thanks to Gabriel for mentioning in the comments) you need to add {% load i18n %} toward the top of your template for being able to use translate and blocktranslate tags.

In Django 3.1 trans and blocktrans tags was renamed to translate and blocktranslate tags accordingly by keeping backwards compatibility.

👤Ulvi

Leave a comment