Translation components API.

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

GET /api/translations/pykickstart/rhel7-branch/bs/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 45,
        "code": "bs",
        "name": "Bosnian",
        "plural": {
            "id": 45,
            "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": [
            "bos"
        ],
        "direction": "ltr",
        "population": 3797234,
        "web_url": "https://translate.fedoraproject.org/languages/bs/",
        "url": "https://translate.fedoraproject.org/api/languages/bs/",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/bs/statistics/"
    },
    "component": {
        "name": "rhel7-branch",
        "slug": "rhel7-branch",
        "id": 98,
        "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/",
            "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "pykickstart",
            "slug": "pykickstart",
            "id": 26,
            "web": "https://github.com/pykickstart/pykickstart",
            "web_url": "https://translate.fedoraproject.org/projects/pykickstart/",
            "url": "https://translate.fedoraproject.org/api/projects/pykickstart/",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/pykickstart/components/",
            "repository_url": "https://translate.fedoraproject.org/api/projects/pykickstart/repository/",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/pykickstart/statistics/",
            "categories_url": "https://translate.fedoraproject.org/api/projects/pykickstart/categories/",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/pykickstart/changes/",
            "languages_url": "https://translate.fedoraproject.org/api/projects/pykickstart/languages/",
            "labels_url": "https://translate.fedoraproject.org/api/projects/pykickstart/labels/",
            "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": ""
        },
        "vcs": "github",
        "repo": "https://github.com/pykickstart/weblate",
        "git_export": "https://translate.fedoraproject.org/git/pykickstart/rhel7-branch/",
        "branch": "rhel7-branch",
        "push_branch": "",
        "filemask": "*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "pykickstart.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/pykickstart/rhel7-branch/",
        "url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/",
        "repository_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/repository/",
        "translations_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/translations/",
        "statistics_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/statistics/",
        "lock_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/lock/",
        "links_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/links/",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/pykickstart/rhel7-branch/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/pykickstart/weblate",
        "check_flags": "placeholders:pykickstart:--agreed:--bindto:--biospart:--blockdevs:--boot-driv:--bridgeopts:--bridgeslaves:--chunksize:--default:--device:--devnum:--disabled:--drives:--enabled:--fcplun:--fsprofile:--fstype:--fstype=btrfs:--fstype=tmpfs:--grow:--hibernation:--host:--interactive:--interfacename:--ipv4-dns-search:--ipv4-ignore-auto-dns:--ipv6-dns-search:--ipv6-ignore-auto-dns:--isUtc:--maxsize:--metadatasize:--mkfsoptions:--namespace:--nobase:--nocore:--nodefaults:--noformat:--nomount:--non-interactive:--nontp:--noswap:--ntp-disable:--ntp-server:--ntpservers:--only-use:--onpart:--optional:--pbkdf-iterations:--pbkdf-time:--percent:--poolname:--port:--reformat:--resize:--romount:--sectorsize:--size:--source:--thin:--thinpool:--type=btrfs:--useexisting:--utc:--vckeymap:--when:--wwpn:--xlayouts",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/pykickstart/pykickstart/blob/{{branch}}/po/{{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": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "bs",
    "id": 2734,
    "filename": "bs.po",
    "revision": "fa671b6cb028a99e516270e14fe976b0f09aca51",
    "web_url": "https://translate.fedoraproject.org/projects/pykickstart/rhel7-branch/bs/",
    "share_url": "https://translate.fedoraproject.org/engage/pykickstart/-/bs/",
    "translate_url": "https://translate.fedoraproject.org/translate/pykickstart/rhel7-branch/bs/",
    "url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/",
    "is_template": false,
    "is_source": false,
    "total": 173,
    "total_words": 1586,
    "translated": 22,
    "translated_words": 243,
    "translated_percent": 12.7,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 4,
    "failing_checks_words": 47,
    "failing_checks_percent": 2.3,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2020-01-31T19:02:19.167166Z",
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/repository/",
    "file_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/file/",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/statistics/",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/changes/",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/bs/units/"
}