{% load i18n %} {% get_current_language as LANGUAGE_CODE %} {% if LANGUAGES|length > 1 %} {% comment %} It doesn't really have an AJAX handler, but we need to reload JS to get the new JS language file, and we can't do this in the AJAX framework {% endcomment %}