Translation components API.

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

GET /api/translations/release-notes-opensuse/master/ru/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 214,
            "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": [
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.opensuse.org/languages/ru/",
        "url": "https://l10n.opensuse.org/api/languages/ru/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 30,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 72,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.opensuse.org/languages/en/",
            "url": "https://l10n.opensuse.org/api/languages/en/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Release Notes for openSUSE",
            "slug": "release-notes-opensuse",
            "id": 14,
            "web": "https://github.com/openSUSE/release-notes-openSUSE",
            "web_url": "https://l10n.opensuse.org/projects/release-notes-opensuse/",
            "url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/?format=api",
            "components_list_url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/components/?format=api",
            "repository_url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/repository/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/statistics/?format=api",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/changes/?format=api",
            "languages_url": "https://l10n.opensuse.org/api/projects/release-notes-opensuse/languages/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "git@github.com:openSUSE/release-notes-openSUSE.git",
        "git_export": "https://l10n.opensuse.org/git/release-notes-opensuse/master/",
        "branch": "master",
        "push_branch": "",
        "filemask": "po/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "release-notes.pot",
        "file_format": "po",
        "license": "GFDL-1.3-only",
        "license_url": "https://www.gnu.org/licenses/fdl-1.3.txt",
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/release-notes-opensuse/master/",
        "url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/?format=api",
        "repository_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/repository/?format=api",
        "translations_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/translations/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/statistics/?format=api",
        "lock_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/lock/?format=api",
        "links_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/links/?format=api",
        "changes_list_url": "https://l10n.opensuse.org/api/components/release-notes-opensuse/master/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:openSUSE/release-notes-openSUSE.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/openSUSE/release-notes-openSUSE/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "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 \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 2,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "ru",
    "id": 580,
    "filename": "po/ru.po",
    "revision": "edd9a8bbc9d57d6336f2718dcdf39448ac52d725",
    "web_url": "https://l10n.opensuse.org/projects/release-notes-opensuse/master/ru/",
    "share_url": "https://l10n.opensuse.org/engage/release-notes-opensuse/ru/",
    "translate_url": "https://l10n.opensuse.org/translate/release-notes-opensuse/master/ru/",
    "url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 51,
    "total_words": 914,
    "translated": 51,
    "translated_words": 914,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 1,
    "failing_checks_words": 1,
    "failing_checks_percent": 1.9,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-05-12T21:21:33.253507Z",
    "last_author": "Alex Minton",
    "repository_url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/repository/?format=api",
    "file_url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/file/?format=api",
    "statistics_url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/statistics/?format=api",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/changes/?format=api",
    "units_list_url": "https://l10n.opensuse.org/api/translations/release-notes-opensuse/master/ru/units/?format=api"
}