  {% perm 'translation.add' object as user_can_add_translation %}
  {% perm 'component.edit' object as user_can_edit_component %}

  <div class="tab-content">
    <div class="tab-pane active" id="translations">

      {% include "snippets/list-objects.html" with objects=translations name_source="language" label=_("Language") is_glossary=object.is_glossary add_link="translation" %}

    </div>

    <div class="tab-pane" id="alerts">
      {% if user.is_authenticated %}
        {% for alert in alerts %}
     