Translation components API.

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

GET /api/translations/libraries/chooser/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": "chooser",
        "slug": "chooser",
        "id": 6,
        "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": "RikkaX",
            "slug": "libraries",
            "id": 4,
            "web": "https://github.com/RikkaApps/RikkaX",
            "web_url": "https://weblate.rikka.app/projects/libraries/",
            "url": "https://weblate.rikka.app/api/projects/libraries/",
            "components_list_url": "https://weblate.rikka.app/api/projects/libraries/components/",
            "repository_url": "https://weblate.rikka.app/api/projects/libraries/repository/",
            "statistics_url": "https://weblate.rikka.app/api/projects/libraries/statistics/",
            "changes_list_url": "https://weblate.rikka.app/api/projects/libraries/changes/",
            "languages_url": "https://weblate.rikka.app/api/projects/libraries/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://weblate.rikka.app/git/libraries/chooser/",
        "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/libraries/chooser/",
        "url": "https://weblate.rikka.app/api/components/libraries/chooser/",
        "repository_url": "https://weblate.rikka.app/api/components/libraries/chooser/repository/",
        "translations_url": "https://weblate.rikka.app/api/components/libraries/chooser/translations/",
        "statistics_url": "https://weblate.rikka.app/api/components/libraries/chooser/statistics/",
        "lock_url": "https://weblate.rikka.app/api/components/libraries/chooser/lock/",
        "links_url": "https://weblate.rikka.app/api/components/libraries/chooser/links/",
        "changes_list_url": "https://weblate.rikka.app/api/components/libraries/chooser/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "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 \"{{ addon_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": 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/7/",
            "https://weblate.rikka.app/api/addons/5/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "zh-rCN",
    "id": 17,
    "filename": "zh-rCN.xml",
    "revision": "6fd2d78096f672d149a8407abbf68118c5146d5c,3d294197b45d8eda581d80ad42b8eb59933a52b7",
    "web_url": "https://weblate.rikka.app/projects/libraries/chooser/zh_Hans/",
    "share_url": "https://weblate.rikka.app/engage/libraries/zh_Hans/",
    "translate_url": "https://weblate.rikka.app/translate/libraries/chooser/zh_Hans/",
    "url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/",
    "is_template": false,
    "is_source": false,
    "total": 1,
    "total_words": 6,
    "translated": 1,
    "translated_words": 6,
    "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": 1,
    "have_comment": 0,
    "last_change": "2020-05-10T03:21:50.623044Z",
    "last_author": "Rikka",
    "repository_url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/repository/",
    "file_url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/file/",
    "statistics_url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/statistics/",
    "changes_list_url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/changes/",
    "units_list_url": "https://weblate.rikka.app/api/translations/libraries/chooser/zh_Hans/units/"
}