Translation components API.

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

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

{
    "language": {
        "id": 214,
        "code": "nb_NO",
        "name": "Norwegian Bokmål",
        "plural": {
            "id": 214,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "norwegian",
            "no_nb",
            "nb_nb",
            "no_no",
            "no",
            "nb",
            "nob",
            "nor"
        ],
        "direction": "ltr",
        "population": 546744000,
        "web_url": "https://translations.documentfoundation.org/languages/nb_NO/",
        "url": "https://translations.documentfoundation.org/api/languages/nb_NO/?format=api",
        "statistics_url": "https://translations.documentfoundation.org/api/languages/nb_NO/statistics/?format=api"
    },
    "component": {
        "name": "loleaflet-ui",
        "slug": "loleaflet-ui",
        "id": 675,
        "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": 163648503560,
            "web_url": "https://translations.documentfoundation.org/languages/en/",
            "url": "https://translations.documentfoundation.org/api/languages/en/?format=api",
            "statistics_url": "https://translations.documentfoundation.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "LibreOffice Online",
            "slug": "libo_online",
            "id": 7,
            "web": "https://www.libreoffice.org",
            "web_url": "https://translations.documentfoundation.org/projects/libo_online/",
            "url": "https://translations.documentfoundation.org/api/projects/libo_online/?format=api",
            "components_list_url": "https://translations.documentfoundation.org/api/projects/libo_online/components/?format=api",
            "repository_url": "https://translations.documentfoundation.org/api/projects/libo_online/repository/?format=api",
            "statistics_url": "https://translations.documentfoundation.org/api/projects/libo_online/statistics/?format=api",
            "categories_url": "https://translations.documentfoundation.org/api/projects/libo_online/categories/?format=api",
            "changes_list_url": "https://translations.documentfoundation.org/api/projects/libo_online/changes/?format=api",
            "languages_url": "https://translations.documentfoundation.org/api/projects/libo_online/languages/?format=api",
            "labels_url": "https://translations.documentfoundation.org/api/projects/libo_online/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "\nMailing list for translators: <l10n@global.libreoffice.org\n",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": null,
        "repo": null,
        "git_export": "",
        "branch": null,
        "push_branch": "",
        "filemask": null,
        "screenshot_filemask": null,
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "loleaflet/po/templates/loleaflet-ui.pot",
        "file_format": "po",
        "license": "MPL-2.0",
        "license_url": "https://spdx.org/licenses/MPL-2.0.html",
        "agreement": "",
        "web_url": "https://translations.documentfoundation.org/projects/libo_online/loleaflet-ui/",
        "url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/?format=api",
        "repository_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/repository/?format=api",
        "translations_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/translations/?format=api",
        "statistics_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/statistics/?format=api",
        "lock_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/lock/?format=api",
        "links_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/links/?format=api",
        "changes_list_url": "https://translations.documentfoundation.org/api/components/libo_online/loleaflet-ui/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": null,
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://git.libreoffice.org/online/+/{{branch}}/{{filename}}#{{line}}",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "update translations\r\n\r\n{{ project_name }}/{{ component_name }} ({{ language_name }})\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
        "add_message": "Added translation \r\n\r\n({{ 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": 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://translations.documentfoundation.org/api/addons/664/?format=api",
            "https://translations.documentfoundation.org/api/addons/660/?format=api",
            "https://translations.documentfoundation.org/api/addons/661/?format=api",
            "https://translations.documentfoundation.org/api/addons/665/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null
    },
    "language_code": "nb",
    "id": 78444,
    "filename": "loleaflet/po/ui-nb.po",
    "revision": "5f046b9f9d5af3b4e0bb1989bffb06ac43544627",
    "web_url": "https://translations.documentfoundation.org/projects/libo_online/loleaflet-ui/nb_NO/",
    "share_url": "https://translations.documentfoundation.org/engage/libo_online/-/nb_NO/",
    "translate_url": "https://translations.documentfoundation.org/translate/libo_online/loleaflet-ui/nb_NO/",
    "url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 348,
    "total_words": 1472,
    "translated": 340,
    "translated_words": 1459,
    "translated_percent": 97.7,
    "fuzzy": 4,
    "fuzzy_words": 6,
    "fuzzy_percent": 1.1,
    "failing_checks": 1,
    "failing_checks_words": 2,
    "failing_checks_percent": 0.2,
    "have_suggestion": 3,
    "have_comment": 0,
    "last_change": "2020-09-11T08:10:16.006093Z",
    "last_author": null,
    "repository_url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/repository/?format=api",
    "file_url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/file/?format=api",
    "statistics_url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/statistics/?format=api",
    "changes_list_url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/changes/?format=api",
    "units_list_url": "https://translations.documentfoundation.org/api/translations/libo_online/loleaflet-ui/nb_NO/units/?format=api"
}