Translation components API.

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

GET /api/translations/otrs-7/administration-manual/zh_Hans/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 343,
        "code": "zh_Hans",
        "name": "Chinese (Simplified)",
        "plural": {
            "id": 343,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "chinese",
            "chinese_chs",
            "schinese",
            "chinese_zh",
            "cn",
            "zh",
            "zhcn",
            "zh_cn",
            "zh_chs",
            "cmn",
            "zh_hans_cn",
            "zh_cmn_hans",
            "chs",
            "chi"
        ],
        "direction": "ltr",
        "population": 1266066359,
        "web_url": "http://translate.otrs.com/languages/zh_Hans/",
        "url": "http://translate.otrs.com/api/languages/zh_Hans/?format=api",
        "statistics_url": "http://translate.otrs.com/api/languages/zh_Hans/statistics/?format=api"
    },
    "component": {
        "name": "Administration Manual",
        "slug": "administration-manual",
        "id": 28,
        "source_language": {
            "id": 76,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 76,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "http://translate.otrs.com/languages/en/",
            "url": "http://translate.otrs.com/api/languages/en/?format=api",
            "statistics_url": "http://translate.otrs.com/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "OTRS 7",
            "slug": "otrs-7",
            "id": 5,
            "web": "https://otrs.com",
            "web_url": "http://translate.otrs.com/projects/otrs-7/",
            "url": "http://translate.otrs.com/api/projects/otrs-7/?format=api",
            "components_list_url": "http://translate.otrs.com/api/projects/otrs-7/components/?format=api",
            "repository_url": "http://translate.otrs.com/api/projects/otrs-7/repository/?format=api",
            "statistics_url": "http://translate.otrs.com/api/projects/otrs-7/statistics/?format=api",
            "categories_url": "http://translate.otrs.com/api/projects/otrs-7/categories/?format=api",
            "changes_list_url": "http://translate.otrs.com/api/projects/otrs-7/changes/?format=api",
            "languages_url": "http://translate.otrs.com/api/projects/otrs-7/languages/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": null,
        "repo": null,
        "git_export": "http://translate.otrs.com/git/otrs-7/administration-manual/",
        "branch": null,
        "push_branch": "",
        "filemask": null,
        "screenshot_filemask": null,
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "locale/content.pot",
        "file_format": "po",
        "license": "proprietary",
        "license_url": null,
        "agreement": "",
        "web_url": "http://translate.otrs.com/projects/otrs-7/administration-manual/",
        "url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/?format=api",
        "repository_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/repository/?format=api",
        "translations_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/translations/?format=api",
        "statistics_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/statistics/?format=api",
        "lock_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/lock/?format=api",
        "links_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/links/?format=api",
        "changes_list_url": "http://translate.otrs.com/api/components/otrs-7/administration-manual/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": null,
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "documentation@otrs.com",
        "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 \"{{ addon_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": false,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "http://translate.otrs.com/api/addons/31/?format=api",
            "http://translate.otrs.com/api/addons/30/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null
    },
    "language_code": "zh_CN",
    "id": 1001,
    "filename": "locale/zh_CN/LC_MESSAGES/content.po",
    "revision": "1d4b2d0ffb6be25434779417c754820b2f6d8de9",
    "web_url": "http://translate.otrs.com/projects/otrs-7/administration-manual/zh_Hans/",
    "share_url": "http://translate.otrs.com/engage/otrs-7/-/zh_Hans/",
    "translate_url": "http://translate.otrs.com/translate/otrs-7/administration-manual/zh_Hans/",
    "url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 4314,
    "total_words": 50421,
    "translated": 2748,
    "translated_words": 33838,
    "translated_percent": 63.6,
    "fuzzy": 26,
    "fuzzy_words": 363,
    "fuzzy_percent": 0.6,
    "failing_checks": 26,
    "failing_checks_words": 137,
    "failing_checks_percent": 0.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2020-05-05T14:43:52.087738Z",
    "last_author": "Bob Tao",
    "repository_url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/repository/?format=api",
    "file_url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/file/?format=api",
    "statistics_url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/statistics/?format=api",
    "changes_list_url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/changes/?format=api",
    "units_list_url": "http://translate.otrs.com/api/translations/otrs-7/administration-manual/zh_Hans/units/?format=api"
}