Translation components API.

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

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

{
    "language": {
        "code": "en_GB",
        "name": "English (United Kingdom)",
        "plural": {
            "id": 79,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "english_uk"
        ],
        "direction": "ltr",
        "web_url": "https://translate.fedoraproject.org/languages/en_GB/",
        "url": "https://translate.fedoraproject.org/api/languages/en_GB/",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/en_GB/statistics/"
    },
    "component": {
        "name": "rhel7-branch",
        "slug": "rhel7-branch",
        "id": 98,
        "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",
            "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/",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/pykickstart/changes/",
            "languages_url": "https://translate.fedoraproject.org/api/projects/pykickstart/languages/",
            "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",
        "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": "",
        "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 }}",
        "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"
    },
    "language_code": "en_GB",
    "id": 2741,
    "filename": "en_GB.po",
    "revision": "c8bee4007bbbf65116b2a8de10ea56dad819069e",
    "web_url": "https://translate.fedoraproject.org/projects/pykickstart/rhel7-branch/en_GB/",
    "share_url": "https://translate.fedoraproject.org/engage/pykickstart/en_GB/",
    "translate_url": "https://translate.fedoraproject.org/translate/pykickstart/rhel7-branch/en_GB/",
    "url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/",
    "is_template": false,
    "is_source": false,
    "total": 173,
    "total_words": 1586,
    "translated": 33,
    "translated_words": 325,
    "translated_percent": 19.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": null,
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/repository/",
    "file_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/file/",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/statistics/",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/changes/",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/pykickstart/rhel7-branch/en_GB/units/"
}