Translation components API.

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

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

{
    "language": {
        "id": 264,
        "code": "to",
        "name": "Tongan",
        "plural": {
            "id": 268,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "ton"
        ],
        "direction": "ltr",
        "population": 100790,
        "web_url": "https://l10n.elementary.io/languages/to/",
        "url": "https://l10n.elementary.io/api/languages/to/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/languages/to/statistics/?format=api"
    },
    "component": {
        "name": "Code Glossary",
        "slug": "glossary",
        "id": 187,
        "source_language": {
            "id": 127,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 75,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://l10n.elementary.io/languages/en/",
            "url": "https://l10n.elementary.io/api/languages/en/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Code",
            "slug": "code",
            "id": 18,
            "web": "https://elementary.io",
            "web_url": "https://l10n.elementary.io/projects/code/",
            "url": "https://l10n.elementary.io/api/projects/code/?format=api",
            "components_list_url": "https://l10n.elementary.io/api/projects/code/components/?format=api",
            "repository_url": "https://l10n.elementary.io/api/projects/code/repository/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/projects/code/statistics/?format=api",
            "categories_url": "https://l10n.elementary.io/api/projects/code/categories/?format=api",
            "changes_list_url": "https://l10n.elementary.io/api/projects/code/changes/?format=api",
            "languages_url": "https://l10n.elementary.io/api/projects/code/languages/?format=api",
            "labels_url": "https://l10n.elementary.io/api/projects/code/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://elementary.io/docs/translation-guide",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://l10n.elementary.io/git/code/glossary/",
        "branch": "main",
        "push_branch": "",
        "filemask": "*.tbx",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "tbx",
        "license": "GPL-3.0-only",
        "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://l10n.elementary.io/projects/code/glossary/",
        "url": "https://l10n.elementary.io/api/components/code/glossary/?format=api",
        "repository_url": "https://l10n.elementary.io/api/components/code/glossary/repository/?format=api",
        "translations_url": "https://l10n.elementary.io/api/components/code/glossary/translations/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/components/code/glossary/statistics/?format=api",
        "lock_url": "https://l10n.elementary.io/api/components/code/glossary/lock/?format=api",
        "links_url": "https://l10n.elementary.io/api/components/code/glossary/links/?format=api",
        "changes_list_url": "https://l10n.elementary.io/api/components/code/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 {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
        "allow_translation_propagation": false,
        "manage_units": true,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": true,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "to",
    "id": 47410,
    "filename": "to.tbx",
    "revision": "a707eb0b067f141dc98e77ff33c3d42e12c3d712",
    "web_url": "https://l10n.elementary.io/projects/code/glossary/to/",
    "share_url": "https://l10n.elementary.io/engage/code/-/to/",
    "translate_url": "https://l10n.elementary.io/translate/code/glossary/to/",
    "url": "https://l10n.elementary.io/api/translations/code/glossary/to/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 0,
    "total_words": 0,
    "translated": 0,
    "translated_words": 0,
    "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": "2022-11-09T12:32:12.703983Z",
    "last_author": null,
    "repository_url": "https://l10n.elementary.io/api/translations/code/glossary/to/repository/?format=api",
    "file_url": "https://l10n.elementary.io/api/translations/code/glossary/to/file/?format=api",
    "statistics_url": "https://l10n.elementary.io/api/translations/code/glossary/to/statistics/?format=api",
    "changes_list_url": "https://l10n.elementary.io/api/translations/code/glossary/to/changes/?format=api",
    "units_list_url": "https://l10n.elementary.io/api/translations/code/glossary/to/units/?format=api"
}