{% load i18n %} {% load content_filters %}
{% if region_default_language != backend_language %} {% endif %} {% for content in contents %} {% get_translation content region_default_language.slug as content_translation %} {% get_translation content backend_language.slug as backendlang_content_translation %} {% if content_translation %} {% else %} {% endif %} {% if region_default_language != backend_language %} {% if backendlang_content_translation %} {% else %} {% endif %} {% endif %} {% empty %} {% endfor %}
{% translate "Name in " %} {{ region_default_language.translated_name }} {% translate "Name in " %} {{ backend_language.translated_name }}
{{ content_translation.title }} {% translate "Translation not available" %} {{ backendlang_content_translation.title }} {% translate "Translation not available" %}
{% trans no_content_message %}