Translation components API.

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

GET /api/translations/turris/reforis-openvpn-plugin/sk/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 120,
        "code": "sk",
        "name": "Slovak",
        "plural": {
            "id": 279,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 22
        },
        "aliases": [
            "svk",
            "sky",
            "slk",
            "slo"
        ],
        "direction": "ltr",
        "population": 6680269,
        "web_url": "https://hosted.weblate.org/languages/sk/",
        "url": "https://hosted.weblate.org/api/languages/sk/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/sk/statistics/?format=api"
    },
    "component": {
        "name": "reForis: OpenVPN Plugin",
        "slug": "reforis-openvpn-plugin",
        "id": 2485,
        "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": "Turris",
            "slug": "turris",
            "id": 151,
            "web": "https://www.turris.cz",
            "web_url": "https://hosted.weblate.org/projects/turris/",
            "url": "https://hosted.weblate.org/api/projects/turris/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/turris/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/turris/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/turris/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/turris/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/turris/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/turris/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/turris/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://docs.turris.cz/geek/contributing/translation/",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://gitlab.nic.cz/turris/reforis/reforis-openvpn.git",
        "git_export": "https://hosted.weblate.org/git/turris/reforis-openvpn-plugin/",
        "branch": "master",
        "push_branch": "",
        "filemask": "reforis_openvpn/translations/*/LC_MESSAGES/messages.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "reforis_openvpn/translations/messages.pot",
        "file_format": "po",
        "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/turris/reforis-openvpn-plugin/",
        "url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/turris/reforis-openvpn-plugin/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://gitlab.nic.cz/turris/reforis/reforis-openvpn/-/blob/{{branch}}/{{filename}}#L{{line}}",
        "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 }}\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": "^(?!(en)$).+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "sk",
    "id": 36626,
    "filename": "reforis_openvpn/translations/sk/LC_MESSAGES/messages.po",
    "revision": "0a4e94c5f16e158c6a6aa87ea0a4b2784cc6af68",
    "web_url": "https://hosted.weblate.org/projects/turris/reforis-openvpn-plugin/sk/",
    "share_url": "https://hosted.weblate.org/engage/turris/-/sk/",
    "translate_url": "https://hosted.weblate.org/translate/turris/reforis-openvpn-plugin/sk/",
    "url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 89,
    "total_words": 651,
    "translated": 89,
    "translated_words": 651,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 3,
    "failing_checks_words": 13,
    "failing_checks_percent": 3.3,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-03-11T17:00:44.900417+01:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/turris/reforis-openvpn-plugin/sk/units/?format=api"
}