Translation components API.

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

GET /api/translations/xwiki-platform/skin-extensions/sk/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "sk",
        "name": "Slovak",
        "plural": {
            "id": 256,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "svk",
            "slk",
            "slo"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/sk/",
        "url": "https://l10n.xwiki.org/api/languages/sk/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/languages/sk/statistics/?format=api"
    },
    "component": {
        "name": "Skin Extensions",
        "slug": "skin-extensions",
        "id": 55,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 71,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.xwiki.org/languages/en/",
            "url": "https://l10n.xwiki.org/api/languages/en/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "XWiki Platform",
            "slug": "xwiki-platform",
            "id": 1,
            "web": "http://www.xwiki.org",
            "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/",
            "url": "https://l10n.xwiki.org/api/projects/xwiki-platform/?format=api",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/components/?format=api",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/repository/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/statistics/?format=api",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/changes/?format=api",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "mail": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/xwiki/xwiki-platform",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources_*.properties",
        "template": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources.properties",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "xwiki-java-properties",
        "license": "LGPL-2.1-only",
        "license_url": "https://www.gnu.org/licenses/old-licenses/lgpl-2.1-standalone.html",
        "agreement": "",
        "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/skin-extensions/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/?format=api",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/repository/?format=api",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/translations/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/statistics/?format=api",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/lock/?format=api",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/xwiki/xwiki-platform",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": "[]",
        "restricted": false,
        "repoweb": "",
        "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": true,
        "commit_pending_age": 1,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": []
    },
    "language_code": "sk",
    "id": 273,
    "filename": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources_sk.properties",
    "revision": "52bc12d22ebf957452cf0dbc90ea34eef1eaeb0e,b1cddd1543a9b616868b5a5eedffffb453a787dc",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/skin-extensions/sk/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-platform/sk/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-platform/skin-extensions/sk/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 14,
    "total_words": 34,
    "translated": 14,
    "translated_words": 34,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 2,
    "failing_checks_words": 6,
    "failing_checks_percent": 14.2,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/repository/?format=api",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/file/?format=api",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/statistics/?format=api",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/changes/?format=api",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/sk/units/?format=api"
}