Translation components API.

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

GET /api/translations/xwiki-platform/include-macro/sk/
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",
            "sky",
            "slk",
            "slo"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/sk/",
        "url": "https://l10n.xwiki.org/api/languages/sk/",
        "statistics_url": "https://l10n.xwiki.org/api/languages/sk/statistics/"
    },
    "component": {
        "name": "Include Macro",
        "slug": "include-macro",
        "id": 179,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 71,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.xwiki.org/languages/en/",
            "url": "https://l10n.xwiki.org/api/languages/en/",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/"
        },
        "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/",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/components/",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/repository/",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/statistics/",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/changes/",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/xwiki/xwiki-platform",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-include/src/main/resources/ApplicationResources_*.properties",
        "template": "xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-include/src/main/resources/ApplicationResources.properties",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "xwiki-java-properties",
        "license": "LGPL-2.1-only",
        "license_url": "https://spdx.org/licenses/LGPL-2.1-only.html",
        "agreement": "",
        "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/include-macro/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/repository/",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/translations/",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/statistics/",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/lock/",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/links/",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-platform/include-macro/changes/",
        "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 }}",
        "pull_message": "Translations update from Weblate\n\nTranslations update from [Weblate]({{url}}) for {{ project_name }}/{{ component_name }}.\n\n{% if component.linked_childs %}\nIt also includes following components:\n{% for linked in component.linked_child %}\n{{ component.project.name }}/{{ component.name }}\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n\nIf a new locale is introduced by this pull request make sure to follow https://dev.xwiki.org/xwiki/bin/view/Community/L10N/SupportedLocales/#HNewlocalechecklist before applying it.\n",
        "allow_translation_propagation": true,
        "manage_units": 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": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "sk",
    "id": 3555,
    "filename": "xwiki-platform-core/xwiki-platform-rendering/xwiki-platform-rendering-macros/xwiki-platform-rendering-macro-include/src/main/resources/ApplicationResources_sk.properties",
    "revision": "d7af9105c51337adcc0a42ac2b35ccd4d17c80c4,fc04b3c429cb0b81fbb1894cbb86aa9e7f1e3141",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/include-macro/sk/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-platform/sk/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-platform/include-macro/sk/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/",
    "is_template": false,
    "is_source": false,
    "total": 27,
    "total_words": 90,
    "translated": 27,
    "translated_words": 90,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 8,
    "failing_checks_words": 63,
    "failing_checks_percent": 29.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/repository/",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/file/",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/statistics/",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/changes/",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/include-macro/sk/units/"
}