{% extends "base.html" %} {% load i18n %} {% load translations %} {% block breadcrumbs %}
  • {{ object }}
  • {% trans "Data exports" %}
  • {% endblock %} {% block content %}

    {% trans "Various data from Weblate is available in machine-readable format." %}

    {% trans "RSS feeds" %} {% documentation_icon 'api' 'rss' %}

    {% trans "Follow the translation progress and all important changes from RSS feeds." %}

    {% for component in components %} {% endfor %}
    {% trans "Project" %} {% trans "URL" %} {% trans "Link" %}
    {{ object }} {{ site_url }}{% url 'rss-project' project=object.slug %} {% trans "RSS" %}
    {{ component }} {{ site_url }}{% url 'rss-component' project=object.slug component=component.slug %} {% trans "RSS" %}

    {% trans "Per language RSS feeds are also available. Construct them by appending a language code to the URLs above." %}

    {% trans "Statistics" %} {% documentation_icon 'api' %}

    {% blocktrans %}Translation statistics for every component in JSON format lets you use the data in other websites or tools.{% endblocktrans %}

    {% for component in components %} {% endfor %}
    {% trans "Project" %} {% trans "URL" %} {% trans "Link" %}
    {{ component }} {{ site_url }}{% url 'api:component-statistics' project__slug=object.slug slug=component.slug %} {% trans "View" %}
    {% with components.0 as component %} {% if component %}

    {% trans "You can fetch statistics for all translations in one component like this:" %}

    curl \
        -H "Authorization: Token {{ request.user.auth_token.key|default:"TOKEN" }}" \
        {{ site_url }}{% url 'api:component-translations' project__slug=object.slug slug=component.slug %}
    
    {% endif %} {% endwith %} {% if hooks_enabled and project.enable_hooks %}

    {% trans "Notification hooks" %} {% documentation_icon 'api' 'hooks' %}

    {% blocktrans %}With notification hooks, Weblate automatically imports changes made by your developers, allowing continuous localization.{% endblocktrans %}

    {% endif %} {% for component in components %} {% endfor %}
    {% trans "Project" %} {% trans "URL" %} {% trans "Link" %}
    {{ object }} {{ site_url }}{% url 'api:project-repository' slug=object.slug %} {% trans "Hook" %}
    {{ component }} {{ site_url }}{% url 'api:component-repository' project__slug=object.slug slug=component.slug %} {% trans "Hook" %}

    {% trans "You pull changes from a remote repository to Weblate like this:" %}

    curl \
        -d operation=pull \
        -H "Authorization: Token {{ request.user.auth_token.key|default:"TOKEN" }}" \
        {{ site_url }}{% url 'api:project-repository' slug=object.slug %}
    

    {% blocktrans %}Weblate also supports direct notifications from several code hosting sites:{% endblocktrans %}

    {% trans "Hosting site" %} {% trans "URL" %} {% trans "Note" %}
    GitHub {{ site_url }}{% url 'webhook' service='github' %} {% trans "The documentation has detailed instructions" %}
    GitLab {{ site_url }}{% url 'webhook' service='gitlab' %} {% trans "The documentation has detailed instructions" %}
    Bitbucket {{ site_url }}{% url 'webhook' service='bitbucket' %} {% trans "The documentation has detailed instructions" %}
    Pagure {{ site_url }}{% url 'webhook' service='pagure' %} {% trans "The documentation has detailed instructions" %}
    Azure Repos {{ site_url }}{% url 'webhook' service='azure' %} {% trans "The documentation has detailed instructions" %}
    Gitea {{ site_url }}{% url 'webhook' service='gitea' %} {% trans "The documentation has detailed instructions" %}
    {% endblock %}