Translation components API.

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

GET /api/translations/anaconda/f37/nb_NO/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "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": 537219000,
        "web_url": "https://translate.fedoraproject.org/languages/nb_NO/",
        "url": "https://translate.fedoraproject.org/api/languages/nb_NO/",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/nb_NO/statistics/"
    },
    "component": {
        "name": "f37",
        "slug": "f37",
        "id": 4378,
        "source_language": {
            "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": 159034349015,
            "web_url": "https://translate.fedoraproject.org/languages/en/",
            "url": "https://translate.fedoraproject.org/api/languages/en/",
            "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/"
        },
        "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/",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/anaconda/components/",
            "repository_url": "https://translate.fedoraproject.org/api/projects/anaconda/repository/",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/anaconda/statistics/",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/anaconda/changes/",
            "languages_url": "https://translate.fedoraproject.org/api/projects/anaconda/languages/",
            "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",
        "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/",
        "repository_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/repository/",
        "translations_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/translations/",
        "statistics_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/statistics/",
        "lock_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/lock/",
        "links_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/links/",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/anaconda/f37/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:rhinstaller/anaconda-l10n.git",
        "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 }}\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://translate.fedoraproject.org/api/addons/12485/",
            "https://translate.fedoraproject.org/api/addons/12484/",
            "https://translate.fedoraproject.org/api/addons/12483/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "nb",
    "id": 76192,
    "filename": "f37/nb.po",
    "revision": "14986c69f39af7dd4771190d84cd3ad8ffc1cdeb",
    "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/",
    "is_template": false,
    "is_source": false,
    "total": 1415,
    "total_words": 8733,
    "translated": 659,
    "translated_words": 2550,
    "translated_percent": 46.5,
    "fuzzy": 133,
    "fuzzy_words": 686,
    "fuzzy_percent": 9.3,
    "failing_checks": 191,
    "failing_checks_words": 942,
    "failing_checks_percent": 13.4,
    "have_suggestion": 146,
    "have_comment": 0,
    "last_change": "2022-08-16T16:40:11.108288Z",
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/repository/",
    "file_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/file/",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/statistics/",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/changes/",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/anaconda/f37/nb_NO/units/"
}