Translation components API.

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

GET /api/translations/anaconda/f37/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": 5467440,
        "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": "f37",
        "slug": "f37",
        "id": 4378,
        "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": 1636485517,
            "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": "anaconda",
            "slug": "anaconda",
            "id": 38,
            "web": "https://github.com/rhinstaller/anaconda",
            "web_url": "https://translate.fedoraproject.org/projects/anaconda/",
            "url": "https://translate.fedoraproject.org/api/projects/anaconda/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/anaconda/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/anaconda/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/anaconda/statistics/?format=api",
            "categories_url": "https://translate.fedoraproject.org/api/projects/anaconda/categories/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/anaconda/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/anaconda/languages/?format=api",
            "labels_url": "https://translate.fedoraproject.org/api/projects/anaconda/labels/?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": ""
        },
        "vcs": "git",
        "repo": "git@github.com:rhinstaller/anaconda-l10n.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "f37/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "f37/anaconda.pot",
        "file_format": "po",
        "license": "GPL-2.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/anaconda/f37/",
        "url": "https://translate.fedoraproject.org/api/components/anaconda/f37/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:rhinstaller/anaconda-l10n.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [
            "c_format",
            "python_brace_format",
            "python_format",
            "end_newline"
        ],
        "restricted": false,
        "repoweb": "https://github.com/rhinstaller/anaconda/blob/f37-release/{{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 }}\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": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://translate.fedoraproject.org/api/addons/12485/?format=api",
            "https://translate.fedoraproject.org/api/addons/12483/?format=api",
            "https://translate.fedoraproject.org/api/addons/12484/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://translate.fedoraproject.org/api/components/anaconda/master/?format=api"
    },
    "language_code": "nb",
    "id": 76192,
    "filename": "f37/nb.po",
    "revision": "d57456cc468cc04bbdb9d46d839c2d4b6bf31ad2",
    "web_url": "https://translate.fedoraproject.org/projects/anaconda/f37/nb_NO/",
    "share_url": "https://translate.fedoraproject.org/engage/anaconda/-/nb_NO/",
    "translate_url": "https://translate.fedoraproject.org/translate/anaconda/f37/nb_NO/",
    "url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 1415,
    "total_words": 8771,
    "translated": 659,
    "translated_words": 2550,
    "translated_percent": 46.5,
    "fuzzy": 133,
    "fuzzy_words": 686,
    "fuzzy_percent": 9.3,
    "failing_checks": 100,
    "failing_checks_words": 522,
    "failing_checks_percent": 7.0,
    "have_suggestion": 149,
    "have_comment": 0,
    "last_change": "2024-01-14T00:25:59.221447Z",
    "last_author": "Weblate Translation Memory",
    "repository_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/units/?format=api"
}