Translation components API.

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

GET /api/translations/setroubleshoot/rhel8plugins/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": 5509730,
        "web_url": "https://translate.fedoraproject.org/languages/nb_NO/",
        "url": "https://translate.fedoraproject.org/api/languages/nb_NO/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/nb_NO/statistics/?format=api"
    },
    "component": {
        "name": "rhel8/plugins",
        "slug": "rhel8plugins",
        "id": 3555,
        "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": 1728900209,
            "web_url": "https://translate.fedoraproject.org/languages/en/",
            "url": "https://translate.fedoraproject.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "setroubleshoot",
            "slug": "setroubleshoot",
            "id": 102,
            "web": "https://gitlab.com/setroubleshoot",
            "web_url": "https://translate.fedoraproject.org/projects/setroubleshoot/",
            "url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/statistics/?format=api",
            "categories_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/categories/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/languages/?format=api",
            "labels_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/labels/?format=api",
            "credits_url": "https://translate.fedoraproject.org/api/projects/setroubleshoot/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Mailing list for translators: <trans@lists.fedoraproject.org",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://translate.fedoraproject.org/git/setroubleshoot/rhel8plugins/",
        "branch": "main",
        "push_branch": "",
        "filemask": "setroubleshoot/plugins/plugins/po/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "setroubleshoot/plugins/plugins/po/setroubleshoot-plugins.pot",
        "file_format": "po",
        "license": "proprietary",
        "license_url": null,
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/setroubleshoot/rhel8plugins/",
        "url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/changes/?format=api",
        "task_url": null,
        "credits_url": "https://translate.fedoraproject.org/api/components/setroubleshoot/rhel8plugins/credits/?format=api",
        "new_lang": "none",
        "language_code_style": "",
        "push": "",
        "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": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "key_filter": "",
        "variant_regex": "",
        "addons": [
            "https://translate.fedoraproject.org/api/addons/10188/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "nb_NO",
    "id": 55311,
    "filename": "setroubleshoot/plugins/plugins/po/nb_NO.po",
    "revision": "b0cb42cf40889a8408e7c622797500c76a9de44e",
    "web_url": "https://translate.fedoraproject.org/projects/setroubleshoot/rhel8plugins/nb_NO/",
    "share_url": "https://translate.fedoraproject.org/engage/setroubleshoot/-/nb_NO/",
    "translate_url": "https://translate.fedoraproject.org/translate/setroubleshoot/rhel8plugins/nb_NO/",
    "url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 226,
    "total_words": 6299,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.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": "2023-02-28T15:47:24.562504Z",
    "last_author": "Vit Mojzis",
    "repository_url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/setroubleshoot/rhel8plugins/nb_NO/units/?format=api"
}