Translation components API.

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

GET /api/translations/linux-pam/master/sr_Latn/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 286,
        "code": "sr_Latn",
        "name": "Serbian (Latin script)",
        "plural": {
            "id": 286,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "serbo_croatian",
            "sh",
            "sr_latn_rs",
            "sr_rs@latin",
            "sr@latin",
            "srl",
            "hbs"
        ],
        "direction": "ltr",
        "population": 7714659,
        "web_url": "https://translate.fedoraproject.org/languages/sr_Latn/",
        "url": "https://translate.fedoraproject.org/api/languages/sr_Latn/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/sr_Latn/statistics/?format=api"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 1866,
        "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": "linux-pam",
            "slug": "linux-pam",
            "id": 78,
            "web": "https://github.com/linux-pam/linux-pam",
            "web_url": "https://translate.fedoraproject.org/projects/linux-pam/",
            "url": "https://translate.fedoraproject.org/api/projects/linux-pam/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/linux-pam/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/linux-pam/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/linux-pam/statistics/?format=api",
            "categories_url": "https://translate.fedoraproject.org/api/projects/linux-pam/categories/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/linux-pam/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/linux-pam/languages/?format=api",
            "labels_url": "https://translate.fedoraproject.org/api/projects/linux-pam/labels/?format=api",
            "credits_url": "https://translate.fedoraproject.org/api/projects/linux-pam/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "\nMailing list for translators: <trans@lists.fedoraproject.org\n",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "git",
        "repo": "https://github.com/linux-pam/linux-pam",
        "git_export": "https://translate.fedoraproject.org/git/linux-pam/master/",
        "branch": "master",
        "push_branch": "",
        "filemask": "po/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/Linux-PAM.pot",
        "file_format": "po",
        "license": "BSD-3-Clause OR GPL-2.0-or-later",
        "license_url": "https://github.com/linux-pam/linux-pam/blob/master/COPYING",
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/linux-pam/master/",
        "url": "https://translate.fedoraproject.org/api/components/linux-pam/master/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/changes/?format=api",
        "task_url": null,
        "credits_url": "https://translate.fedoraproject.org/api/components/linux-pam/master/credits/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/linux-pam/linux-pam/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "po: update translations using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings).\r\n\r\nTranslate-URL: {{ url }}",
        "add_message": "po: add translation using Weblate ({{ language_name }})",
        "delete_message": "po: delete 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": "^[^.]+$",
        "key_filter": "",
        "variant_regex": "",
        "addons": [
            "https://translate.fedoraproject.org/api/addons/5603/?format=api",
            "https://translate.fedoraproject.org/api/addons/5604/?format=api",
            "https://translate.fedoraproject.org/api/addons/5605/?format=api",
            "https://translate.fedoraproject.org/api/addons/5606/?format=api",
            "https://translate.fedoraproject.org/api/addons/5602/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "sr@latin",
    "id": 8230,
    "filename": "po/sr@latin.po",
    "revision": "4cea787dbaca3aad19afade0b477e253cd4e1af0",
    "web_url": "https://translate.fedoraproject.org/projects/linux-pam/master/sr_Latn/",
    "share_url": "https://translate.fedoraproject.org/engage/linux-pam/-/sr_Latn/",
    "translate_url": "https://translate.fedoraproject.org/translate/linux-pam/master/sr_Latn/",
    "url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 101,
    "total_words": 521,
    "translated": 73,
    "translated_words": 331,
    "translated_percent": 72.2,
    "fuzzy": 25,
    "fuzzy_words": 171,
    "fuzzy_percent": 24.7,
    "failing_checks": 15,
    "failing_checks_words": 113,
    "failing_checks_percent": 14.8,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2024-04-25T15:36:24.394139Z",
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/linux-pam/master/sr_Latn/units/?format=api"
}