Translation components API.

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

GET /api/translations/iso-codes/iso-4217/nb_NO/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 449,
        "code": "nb_NO",
        "name": "Norwegian Bokmål",
        "plural": {
            "id": 447,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "norwegian",
            "no_nb",
            "nb_nb",
            "no_no",
            "no",
            "nb",
            "nob",
            "nor"
        ],
        "direction": "ltr",
        "population": 5467440,
        "web_url": "https://hosted.weblate.org/languages/nb_NO/",
        "url": "https://hosted.weblate.org/api/languages/nb_NO/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/nb_NO/statistics/?format=api"
    },
    "component": {
        "name": "ISO 4217",
        "slug": "iso-4217",
        "id": 622,
        "source_language": {
            "id": 62,
            "code": "en_GB",
            "name": "English (United Kingdom)",
            "plural": {
                "id": 81,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "english_uk",
                "eng_gb"
            ],
            "direction": "ltr",
            "population": 64445878,
            "web_url": "https://hosted.weblate.org/languages/en_GB/",
            "url": "https://hosted.weblate.org/api/languages/en_GB/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en_GB/statistics/?format=api"
        },
        "project": {
            "name": "iso-codes",
            "slug": "iso-codes",
            "id": 196,
            "web": "https://salsa.debian.org/iso-codes-team/iso-codes",
            "web_url": "https://hosted.weblate.org/projects/iso-codes/",
            "url": "https://hosted.weblate.org/api/projects/iso-codes/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/iso-codes/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/iso-codes/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/iso-codes/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/iso-codes/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/iso-codes/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/iso-codes/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/iso-codes/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://salsa.debian.org/iso-codes-team/iso-codes.git",
        "git_export": "",
        "branch": "main",
        "push_branch": "",
        "filemask": "iso_4217/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "iso_4217/iso_4217.pot",
        "file_format": "po",
        "license": "LGPL-2.1-or-later",
        "license_url": "https://spdx.org/licenses/LGPL-2.1-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/iso-codes/iso-4217/",
        "url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/iso-codes/iso-4217/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@salsa.debian.org:iso-codes-team/iso-codes.git",
        "check_flags": "ignore-same",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "{{ component_name }}: {{ language_name }} from Weblate\r\n\r\n{{ stats.translated_percent }}%, {{ stats.translated }} of {{ stats.all }} strings",
        "add_message": "{{ component_name }}: New translation for {{ language_name }} from Weblate",
        "delete_message": "{{ component_name }}: Deleted translation for {{ language_name }} using Weblate",
        "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": false,
        "manage_units": false,
        "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/129/?format=api",
            "https://hosted.weblate.org/api/addons/130/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://hosted.weblate.org/api/components/iso-codes/iso-639-2/?format=api"
    },
    "language_code": "nb_NO",
    "id": 12561,
    "filename": "iso_4217/nb_NO.po",
    "revision": "1e09db19e8be7ad76e101cec2beffe51f445a054",
    "web_url": "https://hosted.weblate.org/projects/iso-codes/iso-4217/nb_NO/",
    "share_url": "https://hosted.weblate.org/engage/iso-codes/-/nb_NO/",
    "translate_url": "https://hosted.weblate.org/translate/iso-codes/iso-4217/nb_NO/",
    "url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 179,
    "total_words": 379,
    "translated": 154,
    "translated_words": 292,
    "translated_percent": 86.0,
    "fuzzy": 18,
    "fuzzy_words": 64,
    "fuzzy_percent": 10.0,
    "failing_checks": 4,
    "failing_checks_words": 8,
    "failing_checks_percent": 2.2,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2023-12-19T14:59:52.216454+01:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/iso-codes/iso-4217/nb_NO/units/?format=api"
}