Translation components API.

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

GET /api/translations/xwiki-contrib/glossary/de/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "de",
        "name": "German",
        "plural": {
            "id": 62,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "deu",
            "ger"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/de/",
        "url": "https://l10n.xwiki.org/api/languages/de/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/languages/de/statistics/?format=api"
    },
    "component": {
        "name": "XWiki Contrib",
        "slug": "glossary",
        "id": 190,
        "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/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "XWiki Contrib",
            "slug": "xwiki-contrib",
            "id": 3,
            "web": "http://contrib.xwiki.org",
            "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/",
            "url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/?format=api",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/components/?format=api",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/repository/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/statistics/?format=api",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/changes/?format=api",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://l10n.xwiki.org/git/xwiki-contrib/glossary/",
        "branch": "main",
        "push_branch": "",
        "filemask": "*.tbx",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "tbx",
        "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-contrib/glossary/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/?format=api",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/repository/?format=api",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/translations/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/statistics/?format=api",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/lock/?format=api",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/links/?format=api",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/changes/?format=api",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "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 \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": false,
        "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": true,
        "glossary_color": "silver"
    },
    "language_code": "de",
    "id": 4482,
    "filename": "de.tbx",
    "revision": "94c0df62e9d368f04a03d8fa3c88261cff7b94e8",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/glossary/de/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-contrib/de/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-contrib/glossary/de/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 12,
    "total_words": 14,
    "translated": 12,
    "translated_words": 14,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-12-13T15:16:13.027522Z",
    "last_author": "Simpel",
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/repository/?format=api",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/file/?format=api",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/statistics/?format=api",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/changes/?format=api",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/de/units/?format=api"
}