Translation components API.

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

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

{
    "language": {
        "id": 312,
        "code": "uk",
        "name": "Ukrainian",
        "plural": {
            "id": 312,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "ua",
            "ua_ua",
            "uk_uk",
            "ukr"
        ],
        "direction": "ltr",
        "population": 29348975,
        "web_url": "https://translate.jellyfin.org/languages/uk/",
        "url": "https://translate.jellyfin.org/api/languages/uk/?format=api",
        "statistics_url": "https://translate.jellyfin.org/api/languages/uk/statistics/?format=api"
    },
    "component": {
        "name": "Jellyfin",
        "slug": "jellyfin-core",
        "id": 4,
        "source_language": {
            "id": 73,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 73,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://translate.jellyfin.org/languages/en/",
            "url": "https://translate.jellyfin.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.jellyfin.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Jellyfin",
            "slug": "jellyfin",
            "id": 1,
            "web": "https://jellyfin.org",
            "web_url": "https://translate.jellyfin.org/projects/jellyfin/",
            "url": "https://translate.jellyfin.org/api/projects/jellyfin/?format=api",
            "components_list_url": "https://translate.jellyfin.org/api/projects/jellyfin/components/?format=api",
            "repository_url": "https://translate.jellyfin.org/api/projects/jellyfin/repository/?format=api",
            "statistics_url": "https://translate.jellyfin.org/api/projects/jellyfin/statistics/?format=api",
            "categories_url": "https://translate.jellyfin.org/api/projects/jellyfin/categories/?format=api",
            "changes_list_url": "https://translate.jellyfin.org/api/projects/jellyfin/changes/?format=api",
            "languages_url": "https://translate.jellyfin.org/api/projects/jellyfin/languages/?format=api",
            "labels_url": "https://translate.jellyfin.org/api/projects/jellyfin/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/jellyfin/jellyfin.git",
        "git_export": "https://translate.jellyfin.org/git/jellyfin/jellyfin-core/",
        "branch": "master",
        "push_branch": "",
        "filemask": "Emby.Server.Implementations/Localization/Core/*.json",
        "screenshot_filemask": "",
        "template": "Emby.Server.Implementations/Localization/Core/en-US.json",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "json",
        "license": "GPL-3.0-only",
        "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/",
        "url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/?format=api",
        "repository_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/repository/?format=api",
        "translations_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/translations/?format=api",
        "statistics_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/statistics/?format=api",
        "lock_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/lock/?format=api",
        "links_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/links/?format=api",
        "changes_list_url": "https://translate.jellyfin.org/api/components/jellyfin/jellyfin-core/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "ssh://github.com/jellyfin/jellyfin.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "Translated using Weblate ({{ language_name }})\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 \"{{ addon_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": false,
        "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": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "uk",
    "id": 283,
    "filename": "Emby.Server.Implementations/Localization/Core/uk.json",
    "revision": "18073287b6bb77fb763a6fed348fc2b0be4d5b02,1a69627fa314c6f22a4ba7f81c416ac96cf95c6e",
    "web_url": "https://translate.jellyfin.org/projects/jellyfin/jellyfin-core/uk/",
    "share_url": "https://translate.jellyfin.org/engage/jellyfin/-/uk/",
    "translate_url": "https://translate.jellyfin.org/translate/jellyfin/jellyfin-core/uk/",
    "url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 131,
    "total_words": 495,
    "translated": 131,
    "translated_words": 495,
    "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": "2024-05-15T08:24:31.530511-04:00",
    "last_author": "stanol",
    "repository_url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/repository/?format=api",
    "file_url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/file/?format=api",
    "statistics_url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/statistics/?format=api",
    "changes_list_url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/changes/?format=api",
    "units_list_url": "https://translate.jellyfin.org/api/translations/jellyfin/jellyfin-core/uk/units/?format=api"
}