Translation components API.

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

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

{
    "language": {
        "id": 131,
        "code": "de",
        "name": "German",
        "plural": {
            "id": 130,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "deu_de",
            "deu",
            "ger"
        ],
        "direction": "ltr",
        "population": 136350226,
        "web_url": "https://weblate.tusky.app/languages/de/",
        "url": "https://weblate.tusky.app/api/languages/de/?format=api",
        "statistics_url": "https://weblate.tusky.app/api/languages/de/statistics/?format=api"
    },
    "component": {
        "name": "Tusky",
        "slug": "tusky",
        "id": 4,
        "source_language": {
            "id": 140,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 139,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://weblate.tusky.app/languages/en/",
            "url": "https://weblate.tusky.app/api/languages/en/?format=api",
            "statistics_url": "https://weblate.tusky.app/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Tusky",
            "slug": "tusky",
            "id": 2,
            "web": "https://tusky.app",
            "web_url": "https://weblate.tusky.app/projects/tusky/",
            "url": "https://weblate.tusky.app/api/projects/tusky/?format=api",
            "components_list_url": "https://weblate.tusky.app/api/projects/tusky/components/?format=api",
            "repository_url": "https://weblate.tusky.app/api/projects/tusky/repository/?format=api",
            "statistics_url": "https://weblate.tusky.app/api/projects/tusky/statistics/?format=api",
            "categories_url": "https://weblate.tusky.app/api/projects/tusky/categories/?format=api",
            "changes_list_url": "https://weblate.tusky.app/api/projects/tusky/changes/?format=api",
            "languages_url": "https://weblate.tusky.app/api/projects/tusky/languages/?format=api",
            "labels_url": "https://weblate.tusky.app/api/projects/tusky/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": null,
        "repo": null,
        "git_export": "https://weblate.tusky.app/git/tusky/tusky/",
        "branch": null,
        "push_branch": "",
        "filemask": null,
        "screenshot_filemask": null,
        "template": "app/src/main/res/values/strings.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "GPL-3.0-only",
        "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://weblate.tusky.app/projects/tusky/tusky/",
        "url": "https://weblate.tusky.app/api/components/tusky/tusky/?format=api",
        "repository_url": "https://weblate.tusky.app/api/components/tusky/tusky/repository/?format=api",
        "translations_url": "https://weblate.tusky.app/api/components/tusky/tusky/translations/?format=api",
        "statistics_url": "https://weblate.tusky.app/api/components/tusky/tusky/statistics/?format=api",
        "lock_url": "https://weblate.tusky.app/api/components/tusky/tusky/lock/?format=api",
        "links_url": "https://weblate.tusky.app/api/components/tusky/tusky/links/?format=api",
        "changes_list_url": "https://weblate.tusky.app/api/components/tusky/tusky/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": null,
        "check_flags": "",
        "priority": 80,
        "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 \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\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": true,
        "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": [
            "https://weblate.tusky.app/api/addons/1/?format=api",
            "https://weblate.tusky.app/api/addons/4/?format=api",
            "https://weblate.tusky.app/api/addons/3/?format=api",
            "https://weblate.tusky.app/api/addons/7/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "de",
    "id": 95,
    "filename": "app/src/main/res/values-de/strings.xml",
    "revision": "39e09211b0bc62837b26f393f26308d862d0888f,6e16daec4339ae8eac5ba9f49586bc3e0fc0fe5d",
    "web_url": "https://weblate.tusky.app/projects/tusky/tusky/de/",
    "share_url": "https://weblate.tusky.app/engage/tusky/-/de/",
    "translate_url": "https://weblate.tusky.app/translate/tusky/tusky/de/",
    "url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 643,
    "total_words": 2477,
    "translated": 638,
    "translated_words": 2455,
    "translated_percent": 99.2,
    "fuzzy": 1,
    "fuzzy_words": 11,
    "fuzzy_percent": 0.1,
    "failing_checks": 13,
    "failing_checks_words": 213,
    "failing_checks_percent": 2.0,
    "have_suggestion": 64,
    "have_comment": 6,
    "last_change": "2024-05-13T17:01:26.761179Z",
    "last_author": null,
    "repository_url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/repository/?format=api",
    "file_url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/file/?format=api",
    "statistics_url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/statistics/?format=api",
    "changes_list_url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/changes/?format=api",
    "units_list_url": "https://weblate.tusky.app/api/translations/tusky/tusky/de/units/?format=api"
}