Translation components API.

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

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

{
    "language": {
        "code": "pt",
        "name": "Portuguese",
        "plural": {
            "id": 228,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "ptg",
            "por"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/pt/",
        "url": "https://l10n.xwiki.org/api/languages/pt/",
        "statistics_url": "https://l10n.xwiki.org/api/languages/pt/statistics/"
    },
    "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/",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/"
        },
        "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/",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/components/",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/repository/",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/statistics/",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/changes/",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/languages/",
            "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/",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/repository/",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/translations/",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/statistics/",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/lock/",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/links/",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/glossary/changes/",
        "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": "pt",
    "id": 4606,
    "filename": "pt.tbx",
    "revision": "1f7ea618811f8718265e7ce68bbd550f09af0c8a",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/glossary/pt/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-contrib/pt/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-contrib/glossary/pt/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/",
    "is_template": false,
    "is_source": false,
    "total": 3,
    "total_words": 4,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.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": null,
    "last_author": null,
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/repository/",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/file/",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/statistics/",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/changes/",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/glossary/pt/units/"
}