Translation components API.

See the Weblate's Web API documentation for detailed description of the API.

GET /api/translations/website/index/es/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 10,
        "code": "es",
        "name": "Spanish",
        "plural": {
            "id": 245,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "es_la",
            "esp",
            "spa"
        ],
        "direction": "ltr",
        "population": 493528078,
        "web_url": "https://l10n.elementary.io/languages/es/",
        "url": "https://l10n.elementary.io/api/languages/es/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/languages/es/statistics/?format=api"
    },
    "component": {
        "name": "index",
        "slug": "index",
        "id": 1,
        "source_language": {
            "id": 127,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 75,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://l10n.elementary.io/languages/en/",
            "url": "https://l10n.elementary.io/api/languages/en/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Website",
            "slug": "website",
            "id": 1,
            "web": "https://github.com/elementary/website",
            "web_url": "https://l10n.elementary.io/projects/website/",
            "url": "https://l10n.elementary.io/api/projects/website/?format=api",
            "components_list_url": "https://l10n.elementary.io/api/projects/website/components/?format=api",
            "repository_url": "https://l10n.elementary.io/api/projects/website/repository/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/projects/website/statistics/?format=api",
            "categories_url": "https://l10n.elementary.io/api/projects/website/categories/?format=api",
            "changes_list_url": "https://l10n.elementary.io/api/projects/website/changes/?format=api",
            "languages_url": "https://l10n.elementary.io/api/projects/website/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://elementary.io/docs/translation-guide",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:elementary/website.git",
        "git_export": "https://l10n.elementary.io/git/website/index/",
        "branch": "master",
        "push_branch": "",
        "filemask": "_lang/*/index.json",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "_lang/fr/index.json",
        "file_format": "json",
        "license": "MIT",
        "license_url": "https://spdx.org/licenses/MIT.html",
        "agreement": "",
        "web_url": "https://l10n.elementary.io/projects/website/index/",
        "url": "https://l10n.elementary.io/api/components/website/index/?format=api",
        "repository_url": "https://l10n.elementary.io/api/components/website/index/repository/?format=api",
        "translations_url": "https://l10n.elementary.io/api/components/website/index/translations/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/components/website/index/statistics/?format=api",
        "lock_url": "https://l10n.elementary.io/api/components/website/index/lock/?format=api",
        "links_url": "https://l10n.elementary.io/api/components/website/index/links/?format=api",
        "changes_list_url": "https://l10n.elementary.io/api/components/website/index/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "[email protected]:elementary/website.git",
        "check_flags": "",
        "priority": 60,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/elementary/website/blob/{{branch}}/{{filename}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.",
        "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "pull_message": "Translations update from {{ site_title }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null
    },
    "language_code": "es",
    "id": 16496,
    "filename": "_lang/es/index.json",
    "revision": "2c216739ff423af32ecd6e6423d3904dd695edf7",
    "web_url": "https://l10n.elementary.io/projects/website/index/es/",
    "share_url": "https://l10n.elementary.io/engage/website/-/es/",
    "translate_url": "https://l10n.elementary.io/translate/website/index/es/",
    "url": "https://l10n.elementary.io/api/translations/website/index/es/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 125,
    "total_words": 1122,
    "translated": 122,
    "translated_words": 1066,
    "translated_percent": 97.6,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 6,
    "failing_checks_words": 88,
    "failing_checks_percent": 4.8,
    "have_suggestion": 28,
    "have_comment": 0,
    "last_change": "2022-03-21T12:02:54.556269Z",
    "last_author": "Polo",
    "repository_url": "https://l10n.elementary.io/api/translations/website/index/es/repository/?format=api",
    "file_url": "https://l10n.elementary.io/api/translations/website/index/es/file/?format=api",
    "statistics_url": "https://l10n.elementary.io/api/translations/website/index/es/statistics/?format=api",
    "changes_list_url": "https://l10n.elementary.io/api/translations/website/index/es/changes/?format=api",
    "units_list_url": "https://l10n.elementary.io/api/translations/website/index/es/units/?format=api"
}