Translation components API.

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

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

{
    "language": {
        "id": 96,
        "code": "nl",
        "name": "Dutch",
        "plural": {
            "id": 73,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "dut",
            "nld"
        ],
        "direction": "ltr",
        "population": 31765645,
        "web_url": "https://hosted.weblate.org/languages/nl/",
        "url": "https://hosted.weblate.org/api/languages/nl/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/nl/statistics/?format=api"
    },
    "component": {
        "name": "backend",
        "slug": "backend",
        "id": 25321,
        "source_language": {
            "id": 31,
            "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://hosted.weblate.org/languages/en/",
            "url": "https://hosted.weblate.org/api/languages/en/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Kavita",
            "slug": "kavita",
            "id": 4247,
            "web": "https://www.kavitareader.com",
            "web_url": "https://hosted.weblate.org/projects/kavita/",
            "url": "https://hosted.weblate.org/api/projects/kavita/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/kavita/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/kavita/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/kavita/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/kavita/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/kavita/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/kavita/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/kavita/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "If you see \"{{common.submit}}\" or other markup like this, you do not need to translate that string. This will reference another string that's already been translated. \r\nIf you see {{num}} like that, this is a variable and gives context to what will be transposed there. \r\nIf you see {0} like that, this is a variable from backend project.  \r\nIf you see the string key as \"part-1\" or \"continued\", this string is used where part of the string has html and is thus broken up. Please try to make it as fluent as possible.\r\nIf you see the key have -alt, this is either accessibility text or if the English starts with \"Kavita -\", then this is the title of the browser tab.\r\n\r\nWhen creating new language variants, please use [http://www.lingoes.net/en/translator/langcode.htm](http://www.lingoes.net/en/translator/langcode.htm) for the language. This will allow variants of languages, like Argentina Spanish (es-AR) vs neutral Spanish (es). \r\n\r\nWhen in doubt, please reach out to majora2007 in our Kavita Discord. \r\n\r\nThank you for your help translating the project.",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/Kareadita/Kavita",
        "git_export": "",
        "branch": "develop",
        "push_branch": "",
        "filemask": "API/I18N/*.json",
        "screenshot_filemask": "",
        "template": "API/I18N/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json-nested",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/kavita/backend/",
        "url": "https://hosted.weblate.org/api/components/kavita/backend/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/kavita/backend/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/kavita/backend/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/kavita/backend/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/kavita/backend/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/kavita/backend/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/kavita/backend/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:Kareadita/Kavita.git",
        "check_flags": "",
        "priority": 100,
        "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 \"{{ addon_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "pull_message": "Translations update from {{ site_title }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
        "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://hosted.weblate.org/api/addons/12203/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://hosted.weblate.org/api/components/kavita/ui/?format=api"
    },
    "language_code": "nl",
    "id": 1404299,
    "filename": "API/I18N/nl.json",
    "revision": "e9597a6cb743bfa84a7faa6305c77f4dcd3cae1b,5094b06265e70466803ae605ee26c8ac241a99ee",
    "web_url": "https://hosted.weblate.org/projects/kavita/backend/nl/",
    "share_url": "https://hosted.weblate.org/engage/kavita/-/nl/",
    "translate_url": "https://hosted.weblate.org/translate/kavita/backend/nl/",
    "url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 197,
    "total_words": 1210,
    "translated": 159,
    "translated_words": 1026,
    "translated_percent": 80.7,
    "fuzzy": 1,
    "fuzzy_words": 9,
    "fuzzy_percent": 0.5,
    "failing_checks": 1,
    "failing_checks_words": 9,
    "failing_checks_percent": 0.5,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2024-05-04T22:25:10.045765+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/kavita/backend/nl/units/?format=api"
}