{% extends "base.html" %} {% load i18n icons translations %} {% block breadcrumbs %} {% endblock breadcrumbs %} {% block content %}

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

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

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

{% for component in components %} {% endfor %}
{% translate "Project" %} {% translate "URL" %} {% translate "Link" %}
{{ object }} {{ site_url }}{% url 'rss' path=object.get_url_path %} {% translate "RSS" %}
{{ component }} {{ site_url }}{% url 'rss' path=component.get_url_path %} {% translate "RSS" %}

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

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

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

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

{% translate "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 %}

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

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

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

{% translate "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 %}

{% blocktranslate %}Weblate also supports direct notifications from several code hosting sites:{% endblocktranslate %}

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