Translation components API.

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

GET /api/translations/app-ops/app/zh_Hans/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "zh_Hans",
        "name": "Chinese (Simplified)",
        "plural": {
            "id": 355,
            "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": 125127234432,
        "web_url": "https://weblate.rikka.app/languages/zh_Hans/",
        "url": "https://weblate.rikka.app/api/languages/zh_Hans/",
        "statistics_url": "https://weblate.rikka.app/api/languages/zh_Hans/statistics/"
    },
    "component": {
        "name": "app (Use \"Application\" instead)",
        "slug": "app",
        "id": 9,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 80,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 159034349015,
            "web_url": "https://weblate.rikka.app/languages/en/",
            "url": "https://weblate.rikka.app/api/languages/en/",
            "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/"
        },
        "project": {
            "name": "App Ops",
            "slug": "app-ops",
            "id": 5,
            "web": "https://appops.rikka.app",
            "web_url": "https://weblate.rikka.app/projects/app-ops/",
            "url": "https://weblate.rikka.app/api/projects/app-ops/",
            "components_list_url": "https://weblate.rikka.app/api/projects/app-ops/components/",
            "repository_url": "https://weblate.rikka.app/api/projects/app-ops/repository/",
            "statistics_url": "https://weblate.rikka.app/api/projects/app-ops/statistics/",
            "changes_list_url": "https://weblate.rikka.app/api/projects/app-ops/changes/",
            "languages_url": "https://weblate.rikka.app/api/projects/app-ops/languages/",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://weblate.rikka.app/git/app-ops/app/",
        "branch": "master",
        "push_branch": "",
        "filemask": "*.xml",
        "template": "en.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "Apache-2.0",
        "license_url": "https://spdx.org/licenses/Apache-2.0.html",
        "agreement": "",
        "web_url": "https://weblate.rikka.app/projects/app-ops/app/",
        "url": "https://weblate.rikka.app/api/components/app-ops/app/",
        "repository_url": "https://weblate.rikka.app/api/components/app-ops/app/repository/",
        "translations_url": "https://weblate.rikka.app/api/components/app-ops/app/translations/",
        "statistics_url": "https://weblate.rikka.app/api/components/app-ops/app/statistics/",
        "lock_url": "https://weblate.rikka.app/api/components/app-ops/app/lock/",
        "links_url": "https://weblate.rikka.app/api/components/app-ops/app/links/",
        "changes_list_url": "https://weblate.rikka.app/api/components/app-ops/app/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "java-format",
        "priority": 140,
        "enforced_checks": [
            "java_format",
            "escaped_newline",
            "end_ellipsis",
            "ellipsis",
            "zero-width-space"
        ],
        "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 \"{{ 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": true,
        "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://weblate.rikka.app/api/addons/13/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "zh-rCN",
    "id": 42,
    "filename": "zh-rCN.xml",
    "revision": "d583185969708df59ba22b801775a2a635969cbb,6608b6bcd088e6fd712f38f6af9f0479f057ea1c",
    "web_url": "https://weblate.rikka.app/projects/app-ops/app/zh_Hans/",
    "share_url": "https://weblate.rikka.app/engage/app-ops/zh_Hans/",
    "translate_url": "https://weblate.rikka.app/translate/app-ops/app/zh_Hans/",
    "url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/",
    "is_template": false,
    "is_source": false,
    "total": 338,
    "total_words": 2654,
    "translated": 332,
    "translated_words": 2490,
    "translated_percent": 98.2,
    "fuzzy": 5,
    "fuzzy_words": 164,
    "fuzzy_percent": 1.4,
    "failing_checks": 12,
    "failing_checks_words": 374,
    "failing_checks_percent": 3.5,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2021-05-24T15:15:59.967819Z",
    "last_author": "RayHereQwQ",
    "repository_url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/repository/",
    "file_url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/file/",
    "statistics_url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/statistics/",
    "changes_list_url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/changes/",
    "units_list_url": "https://weblate.rikka.app/api/translations/app-ops/app/zh_Hans/units/"
}