Translation components API.

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

GET /api/translations/debian-handbook/03_existing-setup/zh_Hant/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 185,
        "code": "zh_Hant",
        "name": "Chinese (Traditional)",
        "plural": {
            "id": 734,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "tchinese",
            "zh_cht",
            "zhtw",
            "zh_tw",
            "zh_hant_tw",
            "zh_hant@zh",
            "zh_cmn_hant",
            "cht",
            "zho"
        ],
        "direction": "ltr",
        "population": 38612556,
        "web_url": "https://hosted.weblate.org/languages/zh_Hant/",
        "url": "https://hosted.weblate.org/api/languages/zh_Hant/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/zh_Hant/statistics/?format=api"
    },
    "component": {
        "name": "03_existing-setup",
        "slug": "03_existing-setup",
        "id": 218,
        "source_language": {
            "id": 31,
            "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://hosted.weblate.org/languages/en/",
            "url": "https://hosted.weblate.org/api/languages/en/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Debian Handbook",
            "slug": "debian-handbook",
            "id": 25,
            "web": "https://debian-handbook.info/",
            "web_url": "https://hosted.weblate.org/projects/debian-handbook/",
            "url": "https://hosted.weblate.org/api/projects/debian-handbook/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/debian-handbook/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/debian-handbook/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/debian-handbook/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/debian-handbook/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/debian-handbook/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/debian-handbook/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/debian-handbook/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://debian-handbook.info/contribute/\nMailing list for translators: <debian-handbook-translators@lists.alioth.debian.org\n",
            "enable_hooks": false,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://salsa.debian.org/hertzog/debian-handbook.git",
        "git_export": "",
        "branch": "bullseye/main",
        "push_branch": "",
        "filemask": "*/03_existing-setup.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "po",
        "license": "GPL-2.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/debian-handbook/03_existing-setup/",
        "url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/debian-handbook/03_existing-setup/changes/?format=api",
        "task_url": null,
        "new_lang": "url",
        "language_code_style": "",
        "push": "",
        "check_flags": "xml-text",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "{{ language_code }}: Translated using Weblate.",
        "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": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": false,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://hosted.weblate.org/api/addons/58/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://hosted.weblate.org/api/components/debian-handbook/12_advanced-administration/?format=api"
    },
    "language_code": "zh-TW",
    "id": 122887,
    "filename": "zh-TW/03_existing-setup.po",
    "revision": "6dafa819a60f5708f2312ad78d0d65bd225753bc",
    "web_url": "https://hosted.weblate.org/projects/debian-handbook/03_existing-setup/zh_Hant/",
    "share_url": "https://hosted.weblate.org/engage/debian-handbook/-/zh_Hant/",
    "translate_url": "https://hosted.weblate.org/translate/debian-handbook/03_existing-setup/zh_Hant/",
    "url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 128,
    "total_words": 2056,
    "translated": 82,
    "translated_words": 1059,
    "translated_percent": 64.0,
    "fuzzy": 39,
    "fuzzy_words": 945,
    "fuzzy_percent": 30.4,
    "failing_checks": 31,
    "failing_checks_words": 470,
    "failing_checks_percent": 24.2,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2022-12-23T23:00:30.762113+01:00",
    "last_author": "Petter Reinholdtsen",
    "repository_url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/debian-handbook/03_existing-setup/zh_Hant/units/?format=api"
}