Translation components API.

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

GET /api/translations/yast-nfs/master/zh_TW/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "zh_TW",
        "name": "Chinese (Taiwan)",
        "plural": {
            "id": 54,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [],
        "direction": "ltr",
        "web_url": "https://l10n.opensuse.org/languages/zh_TW/",
        "url": "https://l10n.opensuse.org/api/languages/zh_TW/",
        "statistics_url": "https://l10n.opensuse.org/api/languages/zh_TW/statistics/"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 160,
        "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/",
            "statistics_url": "https://l10n.opensuse.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "yast-nfs",
            "slug": "yast-nfs",
            "id": 136,
            "web": "https://github.com/yast/yast-nfs-client",
            "web_url": "https://l10n.opensuse.org/projects/yast-nfs/",
            "url": "https://l10n.opensuse.org/api/projects/yast-nfs/",
            "components_list_url": "https://l10n.opensuse.org/api/projects/yast-nfs/components/",
            "repository_url": "https://l10n.opensuse.org/api/projects/yast-nfs/repository/",
            "statistics_url": "https://l10n.opensuse.org/api/projects/yast-nfs/statistics/",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/yast-nfs/changes/",
            "languages_url": "https://l10n.opensuse.org/api/projects/yast-nfs/languages/",
            "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/nfs/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/nfs/nfs.pot",
        "file_format": "po",
        "license": "GPL-2.0-or-later",
        "license_url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html",
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/yast-nfs/master/",
        "url": "https://l10n.opensuse.org/api/components/yast-nfs/master/",
        "repository_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/repository/",
        "translations_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/translations/",
        "statistics_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/statistics/",
        "lock_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/lock/",
        "links_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/links/",
        "changes_list_url": "https://l10n.opensuse.org/api/components/yast-nfs/master/changes/",
        "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-nfs-client/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 }})\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": "zh_TW",
    "id": 9536,
    "filename": "po/nfs/zh_TW.po",
    "revision": "ee8f130fbfb83795e66c57c0900b171700fb2790",
    "web_url": "https://l10n.opensuse.org/projects/yast-nfs/master/zh_TW/",
    "share_url": "https://l10n.opensuse.org/engage/yast-nfs/zh_TW/",
    "translate_url": "https://l10n.opensuse.org/translate/yast-nfs/master/zh_TW/",
    "url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/",
    "is_template": false,
    "is_source": false,
    "total": 82,
    "total_words": 683,
    "translated": 82,
    "translated_words": 683,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 3,
    "failing_checks_words": 217,
    "failing_checks_percent": 3.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2020-02-17T10:07:16.049736Z",
    "last_author": "Grace Yu",
    "repository_url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/repository/",
    "file_url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/file/",
    "statistics_url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/statistics/",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/changes/",
    "units_list_url": "https://l10n.opensuse.org/api/translations/yast-nfs/master/zh_TW/units/"
}