I want to print something on the basis of the current language code. For that I did something like this:
{% if request.LANGUAGE_CODE == en %}
<h1>English</h1>
{% endif %}
But this if condition does not compare the current language code. But if I print this {{request.LANGUAGE_CODE}}
on the same page then it will print en
as language code, but my if condition is not working and I don't know why ??