Translation components API.

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

GET /api/translations/aleksis/aleksis-app-plank-frontend/en/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 76,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 76,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://translate.edugit.org/languages/en/",
        "url": "https://translate.edugit.org/api/languages/en/?format=api",
        "statistics_url": "https://translate.edugit.org/api/languages/en/statistics/?format=api"
    },
    "component": {
        "name": "AlekSIS-App-Plank-Frontend",
        "slug": "aleksis-app-plank-frontend",
        "id": 70,
        "source_language": {
            "id": 76,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 76,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://translate.edugit.org/languages/en/",
            "url": "https://translate.edugit.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.edugit.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "AlekSIS",
            "slug": "aleksis",
            "id": 3,
            "web": "https://aleksis.edugit.io",
            "web_url": "https://translate.edugit.org/projects/aleksis/",
            "url": "https://translate.edugit.org/api/projects/aleksis/?format=api",
            "components_list_url": "https://translate.edugit.org/api/projects/aleksis/components/?format=api",
            "repository_url": "https://translate.edugit.org/api/projects/aleksis/repository/?format=api",
            "statistics_url": "https://translate.edugit.org/api/projects/aleksis/statistics/?format=api",
            "categories_url": "https://translate.edugit.org/api/projects/aleksis/categories/?format=api",
            "changes_list_url": "https://translate.edugit.org/api/projects/aleksis/changes/?format=api",
            "languages_url": "https://translate.edugit.org/api/projects/aleksis/languages/?format=api",
            "labels_url": "https://translate.edugit.org/api/projects/aleksis/labels/?format=api",
            "credits_url": "https://translate.edugit.org/api/projects/aleksis/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "gitlab",
        "repo": "git@edugit.org:AlekSIS/onboarding/AlekSIS-App-Plank.git",
        "git_export": "https://translate.edugit.org/git/aleksis/aleksis-app-plank-frontend/",
        "branch": "master",
        "push_branch": "weblate-frontend",
        "filemask": "aleksis/apps/plank/frontend/messages/*.json",
        "screenshot_filemask": "",
        "template": "aleksis/apps/plank/frontend/messages/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json-nested",
        "license": "EUPL-1.2",
        "license_url": "https://spdx.org/licenses/EUPL-1.2.html",
        "agreement": "",
        "web_url": "https://translate.edugit.org/projects/aleksis/aleksis-app-plank-frontend/",
        "url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/?format=api",
        "repository_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/repository/?format=api",
        "translations_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/translations/?format=api",
        "statistics_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/statistics/?format=api",
        "lock_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/lock/?format=api",
        "links_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/links/?format=api",
        "changes_list_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/changes/?format=api",
        "task_url": null,
        "credits_url": "https://translate.edugit.org/api/components/aleksis/aleksis-app-plank-frontend/credits/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@edugit.org:AlekSIS/onboarding/AlekSIS-App-Plank.git",
        "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": 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://translate.edugit.org/api/addons/41/?format=api",
            "https://translate.edugit.org/api/addons/42/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "en",
    "id": 419,
    "filename": "aleksis/apps/plank/frontend/messages/en.json",
    "revision": "b586c55997a6e6505e5540cf9d8114e2587e25a9,b586c55997a6e6505e5540cf9d8114e2587e25a9",
    "web_url": "https://translate.edugit.org/projects/aleksis/aleksis-app-plank-frontend/en/",
    "share_url": "https://translate.edugit.org/engage/aleksis/-/en/",
    "translate_url": "https://translate.edugit.org/translate/aleksis/aleksis-app-plank-frontend/en/",
    "url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/?format=api",
    "is_template": true,
    "is_source": true,
    "total": 164,
    "total_words": 551,
    "translated": 164,
    "translated_words": 551,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 1,
    "failing_checks_words": 2,
    "failing_checks_percent": 0.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-08-30T09:30:50.708438Z",
    "last_author": "Jonathan Weth",
    "repository_url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/repository/?format=api",
    "file_url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/file/?format=api",
    "statistics_url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/statistics/?format=api",
    "changes_list_url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/changes/?format=api",
    "units_list_url": "https://translate.edugit.org/api/translations/aleksis/aleksis-app-plank-frontend/en/units/?format=api"
}