{% extends "base.html" %} {% load i18n %} {% load translations %} {% load permissions %} {% block breadcrumbs %}
  • {% trans "Languages" %}
  • {{ object }}
  • {% endblock %} {% block content %} {% announcements language=object %} {% perm 'language.edit' as user_can_edit_language %}
    {% include "snippets/list-objects.html" with show_admin_badge=True objects=projects name_source="project" label=_("Project") language=object global_base="stats" %}
    {% for plural in object.plural_set.order %} {% if plural.number > 1 %} {% for item in plural.list_plurals %} {% if item.index > 1 %} {% endif %} {% endfor %} {% else %} {% endif %} {% endfor %}
    {% trans "Language code" %} {% if user_can_edit_language %} {% trans "Edit" %} {% endif %} {{ object.code }}
    {% trans "Text direction" %} {{ object.get_direction_display }}
    {% if user_can_edit_language %} {% trans "Edit" %} {% endif %} {% blocktrans with source_description=plural.get_source_display %}Plural: {{ source_description }}{% endblocktrans %} {% blocktrans count count=plural.translation_set.count %}{{ count }} translation{% plural %}{{ count }} translations{% endblocktrans %}
    {% trans "Number of plurals" %} {{ plural.number }}
    {% trans "Plural type" %} {{ plural.get_type_display }}
    {% trans "Plurals" %}
    {{ item.name }} {{ item.examples }}
    {% trans "Plural formula" %} {{ plural.formula }}
    {% include "last-changes-content.html" %} {% trans "Browse all language changes" %}
    {% url 'yearly_activity' lang=object.code as yearly_activity %} {% url 'monthly_activity' lang=object.code as monthly_activity %} {% include "activity-tab.html" %}
    {% if dicts %}
    {% for dict in dicts %} {{ dict }} {% endfor %}
    {% else %} {% trans "There are no glossaries defined for this language." as msg %} {% show_message "info" msg %} {% endif %}
    {% endblock %}