Translation components API.

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

GET /api/translations/tails/security/de/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 39,
        "code": "de",
        "name": "German",
        "plural": {
            "id": 84,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "deu_de",
            "deu",
            "ger"
        ],
        "direction": "ltr",
        "population": 136350226,
        "web_url": "https://translate.tails.boum.org/languages/de/",
        "url": "https://translate.tails.boum.org/api/languages/de/?format=api",
        "statistics_url": "https://translate.tails.boum.org/api/languages/de/statistics/?format=api"
    },
    "component": {
        "name": "wiki/src/security.*.po",
        "slug": "security",
        "id": 12,
        "source_language": {
            "id": 63,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 58,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://translate.tails.boum.org/languages/en/",
            "url": "https://translate.tails.boum.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.tails.boum.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Tails",
            "slug": "tails",
            "id": 1,
            "web": "https://tails.boum.org/",
            "web_url": "https://translate.tails.boum.org/projects/tails/",
            "url": "https://translate.tails.boum.org/api/projects/tails/?format=api",
            "components_list_url": "https://translate.tails.boum.org/api/projects/tails/components/?format=api",
            "repository_url": "https://translate.tails.boum.org/api/projects/tails/repository/?format=api",
            "statistics_url": "https://translate.tails.boum.org/api/projects/tails/statistics/?format=api",
            "categories_url": "https://translate.tails.boum.org/api/projects/tails/categories/?format=api",
            "changes_list_url": "https://translate.tails.boum.org/api/projects/tails/changes/?format=api",
            "languages_url": "https://translate.tails.boum.org/api/projects/tails/languages/?format=api",
            "labels_url": "https://translate.tails.boum.org/api/projects/tails/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": false,
            "instructions": "https://tails.boum.org/contribute/how/translate/\nMailing list for translators: <tails-l10n@boum.org\n",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "gitolite@puppet-git.lizard:tails",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "wiki/src/security.*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "wiki/src/security.pot",
        "file_format": "po",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://translate.tails.boum.org/projects/tails/security/",
        "url": "https://translate.tails.boum.org/api/components/tails/security/?format=api",
        "repository_url": "https://translate.tails.boum.org/api/components/tails/security/repository/?format=api",
        "translations_url": "https://translate.tails.boum.org/api/components/tails/security/translations/?format=api",
        "statistics_url": "https://translate.tails.boum.org/api/components/tails/security/statistics/?format=api",
        "lock_url": "https://translate.tails.boum.org/api/components/tails/security/lock/?format=api",
        "links_url": "https://translate.tails.boum.org/api/components/tails/security/links/?format=api",
        "changes_list_url": "https://translate.tails.boum.org/api/components/tails/security/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://git-tails.immerda.ch/weblate/tails/tree/{{filename}}?h={{branch}}#n{{line}}",
        "report_source_bugs": "tails-l10n@boum.org",
        "merge_style": "merge",
        "commit_message": "Weblate commit",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ hook_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": true,
        "suggestion_autoaccept": 0,
        "push_on_commit": false,
        "commit_pending_age": 1,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null
    },
    "language_code": "de",
    "id": 34,
    "filename": "wiki/src/security.de.po",
    "revision": "a81469351b16fe3e9ae5a11227eb9a0dce78be09",
    "web_url": "https://translate.tails.boum.org/projects/tails/security/de/",
    "share_url": "https://translate.tails.boum.org/engage/tails/-/de/",
    "translate_url": "https://translate.tails.boum.org/translate/tails/security/de/",
    "url": "https://translate.tails.boum.org/api/translations/tails/security/de/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 14,
    "total_words": 230,
    "translated": 14,
    "translated_words": 230,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2023-11-15T08:35:26.775375Z",
    "last_author": "Benjamin Held",
    "repository_url": "https://translate.tails.boum.org/api/translations/tails/security/de/repository/?format=api",
    "file_url": "https://translate.tails.boum.org/api/translations/tails/security/de/file/?format=api",
    "statistics_url": "https://translate.tails.boum.org/api/translations/tails/security/de/statistics/?format=api",
    "changes_list_url": "https://translate.tails.boum.org/api/translations/tails/security/de/changes/?format=api",
    "units_list_url": "https://translate.tails.boum.org/api/translations/tails/security/de/units/?format=api"
}