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/ru/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 272,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "russian",
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.linphone.org/languages/ru/",
        "url": "https://weblate.linphone.org/api/languages/ru/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/languages/ru/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": "ru",
    "id": 2346,
    "filename": "app/src/main/res/values-ru/strings.xml",
    "revision": "e509668d7d8e4017676e1c02073b60a5a34e30cc,aa114b4da42b544cd9e7f702c9e4291210cdf493",
    "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android-5-1-release/ru/",
    "share_url": "https://weblate.linphone.org/engage/linphone/ru/",
    "translate_url": "https://weblate.linphone.org/translate/linphone/linphone-android-5-1-release/ru/",
    "url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 808,
    "total_words": 3125,
    "translated": 808,
    "translated_words": 3125,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 4,
    "failing_checks_words": 15,
    "failing_checks_percent": 0.4,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2023-07-31T11:07:34.956972Z",
    "last_author": "Stanislav Bukovetskiy",
    "repository_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/repository/?format=api",
    "file_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/file/?format=api",
    "statistics_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/statistics/?format=api",
    "changes_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/changes/?format=api",
    "units_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/ru/units/?format=api"
}