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

{
    "language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 117,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "french",
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.linphone.org/languages/fr/",
        "url": "https://weblate.linphone.org/api/languages/fr/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/languages/fr/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": "fr",
    "id": 2336,
    "filename": "app/src/main/res/values-fr/strings.xml",
    "revision": "fbe4a8bfdc06ca0a28a1a65d39b5fc6b025dd99c,aa114b4da42b544cd9e7f702c9e4291210cdf493",
    "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android-5-1-release/fr/",
    "share_url": "https://weblate.linphone.org/engage/linphone/fr/",
    "translate_url": "https://weblate.linphone.org/translate/linphone/linphone-android-5-1-release/fr/",
    "url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/fr/?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": 29,
    "failing_checks_words": 121,
    "failing_checks_percent": 3.5,
    "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/fr/repository/?format=api",
    "file_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/fr/file/?format=api",
    "statistics_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/fr/statistics/?format=api",
    "changes_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/fr/changes/?format=api",
    "units_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android-5-1-release/fr/units/?format=api"
}