Translation components API.

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

GET /api/translations/yast-installation/master/gl/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "gl",
        "name": "Galician",
        "plural": {
            "id": 94,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "glg"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.opensuse.org/languages/gl/",
        "url": "https://l10n.opensuse.org/api/languages/gl/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/languages/gl/statistics/?format=api"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 124,
        "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": "yast-installation",
            "slug": "yast-installation",
            "id": 98,
            "web": "https://github.com/yast/yast-installation",
            "web_url": "https://l10n.opensuse.org/projects/yast-installation/",
            "url": "https://l10n.opensuse.org/api/projects/yast-installation/?format=api",
            "components_list_url": "https://l10n.opensuse.org/api/projects/yast-installation/components/?format=api",
            "repository_url": "https://l10n.opensuse.org/api/projects/yast-installation/repository/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/projects/yast-installation/statistics/?format=api",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/yast-installation/changes/?format=api",
            "languages_url": "https://l10n.opensuse.org/api/projects/yast-installation/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:yast/yast-translations.git",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "po/installation/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/installation/installation.pot",
        "file_format": "po",
        "license": "proprietary",
        "license_url": null,
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/yast-installation/master/",
        "url": "https://l10n.opensuse.org/api/components/yast-installation/master/?format=api",
        "repository_url": "https://l10n.opensuse.org/api/components/yast-installation/master/repository/?format=api",
        "translations_url": "https://l10n.opensuse.org/api/components/yast-installation/master/translations/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/components/yast-installation/master/statistics/?format=api",
        "lock_url": "https://l10n.opensuse.org/api/components/yast-installation/master/lock/?format=api",
        "links_url": "https://l10n.opensuse.org/api/components/yast-installation/master/links/?format=api",
        "changes_list_url": "https://l10n.opensuse.org/api/components/yast-installation/master/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:yast/yast-translations.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/yast/yast-installation/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)",
        "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": "gl",
    "id": 6802,
    "filename": "po/installation/gl.po",
    "revision": "1c05eb228c82064e039e8bf70afabd91abd3aebe",
    "web_url": "https://l10n.opensuse.org/projects/yast-installation/master/gl/",
    "share_url": "https://l10n.opensuse.org/engage/yast-installation/gl/",
    "translate_url": "https://l10n.opensuse.org/translate/yast-installation/master/gl/",
    "url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 356,
    "total_words": 2792,
    "translated": 185,
    "translated_words": 1259,
    "translated_percent": 51.9,
    "fuzzy": 77,
    "fuzzy_words": 514,
    "fuzzy_percent": 21.6,
    "failing_checks": 30,
    "failing_checks_words": 333,
    "failing_checks_percent": 8.4,
    "have_suggestion": 67,
    "have_comment": 0,
    "last_change": "2019-03-09T16:03:51.924534Z",
    "last_author": "Manuel Vazquez",
    "repository_url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/repository/?format=api",
    "file_url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/file/?format=api",
    "statistics_url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/statistics/?format=api",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/changes/?format=api",
    "units_list_url": "https://l10n.opensuse.org/api/translations/yast-installation/master/gl/units/?format=api"
}