Translation components API.

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

GET /api/translations/linphone/linphone-android-5-1-release/zh_Hans/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "zh_Hans",
        "name": "Chinese (Simplified)",
        "plural": {
            "id": 362,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "chinese_chs",
            "schinese",
            "cn",
            "chs",
            "zh",
            "zhcn",
            "zh_cn",
            "zh_chs",
            "cmn",
            "zh_hans_cn",
            "zh_cmn_hans"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.linphone.org/languages/zh_Hans/",
        "url": "https://weblate.linphone.org/api/languages/zh_Hans/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/languages/zh_Hans/statistics/?format=api"
    },
    "component": {
        "name": "Linphone Android (5.1 release)",
        "slug": "linphone-android-5-1-release",
        "id": 122,
        "project": {
            "name": "Linphone",
            "slug": "linphone",
            "id": 2,
            "web": "https://linphone.org",
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 82,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "english",
                    "en_en",
                    "base",
                    "source",
                    "eng"
                ],
                "direction": "ltr",
                "web_url": "https://weblate.linphone.org/languages/en/",
                "url": "https://weblate.linphone.org/api/languages/en/?format=api",
                "statistics_url": "https://weblate.linphone.org/api/languages/en/statistics/?format=api"
            },
            "web_url": "https://weblate.linphone.org/projects/linphone/",
            "url": "https://weblate.linphone.org/api/projects/linphone/?format=api",
            "components_list_url": "https://weblate.linphone.org/api/projects/linphone/components/?format=api",
            "repository_url": "https://weblate.linphone.org/api/projects/linphone/repository/?format=api",
            "statistics_url": "https://weblate.linphone.org/api/projects/linphone/statistics/?format=api",
            "changes_list_url": "https://weblate.linphone.org/api/projects/linphone/changes/?format=api",
            "languages_url": "https://weblate.linphone.org/api/projects/linphone/languages/?format=api"
        },
        "vcs": "git",
        "repo": "https://gitlab.linphone.org/BC/public/linphone-android.git",
        "git_export": "https://weblate.linphone.org/git/linphone/linphone-android-5-1-release/",
        "branch": "release/5.1",
        "push_branch": "weblate/translations_updated_5.1",
        "filemask": "app/src/main/res/values-*/strings.xml",
        "template": "app/src/main/res/values/strings.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "proprietary",
        "license_url": null,
        "agreement": "",
        "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android-5-1-release/",
        "url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/?format=api",
        "repository_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/repository/?format=api",
        "translations_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/translations/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/statistics/?format=api",
        "lock_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/lock/?format=api",
        "changes_list_url": "https://weblate.linphone.org/api/components/linphone/linphone-android-5-1-release/changes/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@gitlab.linphone.org:BC/public/linphone-android.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": "",
        "restricted": false,
        "repoweb": "https://gitlab.linphone.org/BC/public/linphone-android/blob/{{branch}}/{{filename}}#L{{line}}",
        "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 }}",
        "allow_translation_propagation": true,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": false,
        "commit_pending_age": 43800,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": ""
    },
    "language_code": "zh-rCN",
    "id": 2348,
    "filename": "app/src/main/res/values-zh-rCN/strings.xml",
    "revision": "fdb67c7063629db776831bc4b88bc58345167030,aa114b4da42b544cd9e7f702c9e4291210cdf493",
    "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android-5-1-release/zh_Hans/",
    "share_url": "https://weblate.linphone.org/engage/linphone/zh_Hans/",
    "translate_url": "https://weblate.linphone.org/translate/linphone/linphone-android-5-1-release/zh_Hans/",
    "url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 808,
    "total_words": 3125,
    "translated": 768,
    "translated_words": 2869,
    "translated_percent": 95.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 2,
    "failing_checks_words": 8,
    "failing_checks_percent": 0.2,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/repository/?format=api",
    "file_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/file/?format=api",
    "statistics_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/statistics/?format=api",
    "changes_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/changes/?format=api",
    "units_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/zh_Hans/units/?format=api"
}