{% load i18n %} {% blocktrans with login_url as login_url %} You have to be authorised in order to see the content. Log in here. {% endblocktrans %}