Skip to content Skip to sidebar Skip to footer

Why Is Django Blocktrans Working One Place And Not Another?

I have two Django templates (in a Pinax 0.9.x project) with text in a blocktrans block. One is working and the other isn't. The one that's working looks like: {% extends 'site_base

Solution 1:

You have to load the i18n template tags:

<!-- your_template.html -->
{% load i18n %}

Post a Comment for "Why Is Django Blocktrans Working One Place And Not Another?"