Translation components API.

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

GET /api/translations/bureaucrat-generics-16-0/generic_request/uk/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "uk",
        "name": "Ukrainian",
        "plural": {
            "id": 327,
            "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": [
            "ua",
            "ukr"
        ],
        "direction": "ltr",
        "web_url": "http://weblate.crnd.pro/languages/uk/",
        "url": "http://weblate.crnd.pro/api/languages/uk/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/languages/uk/statistics/?format=api"
    },
    "component": {
        "name": "generic_request",
        "slug": "generic_request",
        "id": 1173,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 77,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "http://weblate.crnd.pro/languages/en/",
            "url": "http://weblate.crnd.pro/api/languages/en/?format=api",
            "statistics_url": "http://weblate.crnd.pro/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Bureaucrat generics (16.0)",
            "slug": "bureaucrat-generics-16-0",
            "id": 30,
            "web": "https://gitlab.crnd.pro/crnd/bureaucrat-generics",
            "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/",
            "url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/?format=api",
            "components_list_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/components/?format=api",
            "repository_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/repository/?format=api",
            "statistics_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/statistics/?format=api",
            "changes_list_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/changes/?format=api",
            "languages_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/languages/?format=api"
        },
        "vcs": "git",
        "repo": "git@gitlab.crnd.pro:crnd/bureaucrat-generics.git",
        "git_export": "http://weblate.crnd.pro/git/bureaucrat-generics-16-0/generic_request/",
        "branch": "16.0",
        "push_branch": "",
        "filemask": "generic_request/i18n/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "generic_request/i18n/generic_request.pot",
        "file_format": "po",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/generic_request/",
        "url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/?format=api",
        "repository_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/repository/?format=api",
        "translations_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/translations/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/statistics/?format=api",
        "lock_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/lock/?format=api",
        "changes_list_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request/changes/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@gitlab.crnd.pro:crnd/bureaucrat-generics.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 }}",
        "allow_translation_propagation": true,
        "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": ""
    },
    "language_code": "uk",
    "id": 6486,
    "filename": "generic_request/i18n/uk.po",
    "revision": "1c67e41970113806f730789c0c23f27dda6c721e",
    "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/generic_request/uk/",
    "share_url": "http://weblate.crnd.pro/engage/bureaucrat-generics-16-0/uk/",
    "translate_url": "http://weblate.crnd.pro/translate/bureaucrat-generics-16-0/generic_request/uk/",
    "url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 1023,
    "total_words": 6403,
    "translated": 882,
    "translated_words": 3628,
    "translated_percent": 86.2,
    "fuzzy": 34,
    "fuzzy_words": 269,
    "fuzzy_percent": 3.3,
    "failing_checks": 92,
    "failing_checks_words": 322,
    "failing_checks_percent": 8.9,
    "have_suggestion": 13,
    "have_comment": 0,
    "last_change": "2024-11-26T18:33:51.864001+02:00",
    "last_author": "Den_Sharaf",
    "repository_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/repository/?format=api",
    "file_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/file/?format=api",
    "statistics_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/statistics/?format=api",
    "changes_list_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/changes/?format=api",
    "units_list_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request/uk/units/?format=api"
}