Translation components API.

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

GET /api/translations/tryton/account_invoice_correction/cs/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 58,
        "code": "cs",
        "name": "Czech",
        "plural": {
            "id": 58,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "cs_cs",
            "cz",
            "csy",
            "ces",
            "cze"
        ],
        "direction": "ltr",
        "population": 13045532,
        "web_url": "https://translate.tryton.org/languages/cs/",
        "url": "https://translate.tryton.org/api/languages/cs/?format=api",
        "statistics_url": "https://translate.tryton.org/api/languages/cs/statistics/?format=api"
    },
    "component": {
        "name": "account_invoice_correction",
        "slug": "account_invoice_correction",
        "id": 20,
        "source_language": {
            "id": 73,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 73,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://translate.tryton.org/languages/en/",
            "url": "https://translate.tryton.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.tryton.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Tryton",
            "slug": "tryton",
            "id": 2,
            "web": "http://www.tryton.org/",
            "web_url": "https://translate.tryton.org/projects/tryton/",
            "url": "https://translate.tryton.org/api/projects/tryton/?format=api",
            "components_list_url": "https://translate.tryton.org/api/projects/tryton/components/?format=api",
            "repository_url": "https://translate.tryton.org/api/projects/tryton/repository/?format=api",
            "statistics_url": "https://translate.tryton.org/api/projects/tryton/statistics/?format=api",
            "categories_url": "https://translate.tryton.org/api/projects/tryton/categories/?format=api",
            "changes_list_url": "https://translate.tryton.org/api/projects/tryton/changes/?format=api",
            "languages_url": "https://translate.tryton.org/api/projects/tryton/languages/?format=api",
            "labels_url": "https://translate.tryton.org/api/projects/tryton/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": false,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "mercurial",
        "repo": "ssh://foss.heptapod.net/tryton/translations",
        "git_export": "",
        "branch": "default",
        "push_branch": "",
        "filemask": "modules/account_invoice_correction/locale/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "templates/account_invoice_correction.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.tryton.org/projects/tryton/account_invoice_correction/",
        "url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/?format=api",
        "repository_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/repository/?format=api",
        "translations_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/translations/?format=api",
        "statistics_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/statistics/?format=api",
        "lock_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/lock/?format=api",
        "links_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/links/?format=api",
        "changes_list_url": "https://translate.tryton.org/api/components/tryton/account_invoice_correction/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": "ssh://foss.heptapod.net/tryton/translations",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "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 }}\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": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://translate.tryton.org/api/addons/22/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://translate.tryton.org/api/components/tryton/ir/?format=api"
    },
    "language_code": "cs",
    "id": 438,
    "filename": "modules/account_invoice_correction/locale/cs.po",
    "revision": "1c1aa619bccdfeadebf937f8be6eb43253f2cefb",
    "web_url": "https://translate.tryton.org/projects/tryton/account_invoice_correction/cs/",
    "share_url": "https://translate.tryton.org/engage/tryton/-/cs/",
    "translate_url": "https://translate.tryton.org/translate/tryton/account_invoice_correction/cs/",
    "url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 8,
    "total_words": 13,
    "translated": 2,
    "translated_words": 2,
    "translated_percent": 25.0,
    "fuzzy": 1,
    "fuzzy_words": 1,
    "fuzzy_percent": 12.5,
    "failing_checks": 3,
    "failing_checks_words": 3,
    "failing_checks_percent": 37.5,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2024-02-29T23:24:22.125833Z",
    "last_author": null,
    "repository_url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/repository/?format=api",
    "file_url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/file/?format=api",
    "statistics_url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/statistics/?format=api",
    "changes_list_url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/changes/?format=api",
    "units_list_url": "https://translate.tryton.org/api/translations/tryton/account_invoice_correction/cs/units/?format=api"
}