{% extends "base.html" %} {% load i18n %} {% load translations %} {% block breadcrumbs %}
{% trans "You can retrieve various data from Weblate in machine readable format." %}
{% trans "To follow translation progress you can use RSS feeds, detailing all important translation changes." %}
{% 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, you can construct them by appending a language code to the above URLs." %}
{% blocktrans %}Translation statistics for every component in the JSON format allows you to use the data in other websites or tools.{% endblocktrans %}
{% trans "Project" %} | {% trans "URL" %} | {% trans "Link" %} |
---|---|---|
{{ component }} | {{ site_url }}{% url 'api:component-statistics' project__slug=object.slug slug=component.slug %} | {% trans "View" %} |
{% trans "As an example, fetching stats for all translations in one component can be done thusly:" %}
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 %}
{% blocktrans %}With notification hooks, Weblate will automatically import changes made by your developers, and allows continuous localization.{% endblocktrans %}
{% endif %}{% 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 "As an example, telling Weblate to pull from a remote repository can be done thusly:" %}
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 "Browse the documentation for detailed instructions" %} |
GitLab | {{ site_url }}{% url 'webhook' service='gitlab' %} | {% trans "Browse the documentation for detailed instructions" %} |
Bitbucket | {{ site_url }}{% url 'webhook' service='bitbucket' %} | {% trans "Browse the documentation for detailed instructions" %} |
Pagure | {{ site_url }}{% url 'webhook' service='pagure' %} | {% trans "Browse the documentation for detailed instructions" %} |
Azure Repos | {{ site_url }}{% url 'webhook' service='azure' %} | {% trans "Browse the documentation for detailed instructions" %} |
Gitea | {{ site_url }}{% url 'webhook' service='gitea' %} | {% trans "Browse the documentation for detailed instructions" %} |