Translation components API.

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

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

{
    "language": {
        "code": "hi",
        "name": "Hindi",
        "plural": {
            "id": 112,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "hin"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.opensuse.org/languages/hi/",
        "url": "https://l10n.opensuse.org/api/languages/hi/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/languages/hi/statistics/?format=api"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 398,
        "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-caasp",
            "slug": "yast-caasp",
            "id": 248,
            "web": "https://github.com/yast/yast-caasp",
            "web_url": "https://l10n.opensuse.org/projects/yast-caasp/",
            "url": "https://l10n.opensuse.org/api/projects/yast-caasp/?format=api",
            "components_list_url": "https://l10n.opensuse.org/api/projects/yast-caasp/components/?format=api",
            "repository_url": "https://l10n.opensuse.org/api/projects/yast-caasp/repository/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/projects/yast-caasp/statistics/?format=api",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/yast-caasp/changes/?format=api",
            "languages_url": "https://l10n.opensuse.org/api/projects/yast-caasp/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/caasp/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/caasp/caasp.pot",
        "file_format": "po",
        "license": "GPL-2.0-only",
        "license_url": "https://spdx.org/licenses/GPL-2.0-only.html",
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/yast-caasp/master/",
        "url": "https://l10n.opensuse.org/api/components/yast-caasp/master/?format=api",
        "repository_url": "https://l10n.opensuse.org/api/components/yast-caasp/master/repository/?format=api",
        "translations_url": "https://l10n.opensuse.org/api/components/yast-caasp/master/translations/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/components/yast-caasp/master/statistics/?format=api",
        "lock_url": "https://l10n.opensuse.org/api/components/yast-caasp/master/lock/?format=api",
        "links_url": "https://l10n.opensuse.org/api/components/yast-caasp/master/links/?format=api",
        "changes_list_url": "https://l10n.opensuse.org/api/components/yast-caasp/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-caasp/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ hook_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": "hi",
    "id": 23228,
    "filename": "po/caasp/hi.po",
    "revision": "73ab46629560bff10d168ed23be97cd94bc972fd",
    "web_url": "https://l10n.opensuse.org/projects/yast-caasp/master/hi/",
    "share_url": "https://l10n.opensuse.org/engage/yast-caasp/hi/",
    "translate_url": "https://l10n.opensuse.org/translate/yast-caasp/master/hi/",
    "url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 20,
    "total_words": 188,
    "translated": 5,
    "translated_words": 68,
    "translated_percent": 25.0,
    "fuzzy": 2,
    "fuzzy_words": 17,
    "fuzzy_percent": 10.0,
    "failing_checks": 1,
    "failing_checks_words": 2,
    "failing_checks_percent": 5.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2018-04-07T10:57:10.986377Z",
    "last_author": "Panwar",
    "repository_url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/repository/?format=api",
    "file_url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/file/?format=api",
    "statistics_url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/statistics/?format=api",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/changes/?format=api",
    "units_list_url": "https://l10n.opensuse.org/api/translations/yast-caasp/master/hi/units/?format=api"
}