Translation components API.

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

GET /api/translations/memorial-archives/core/ru/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 248,
            "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": [
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "web_url": "https://translate.memarc.info/languages/ru/",
        "url": "https://translate.memarc.info/api/languages/ru/?format=api",
        "statistics_url": "https://translate.memarc.info/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "Core",
        "slug": "core",
        "id": 4,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 73,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://translate.memarc.info/languages/en/",
            "url": "https://translate.memarc.info/api/languages/en/?format=api",
            "statistics_url": "https://translate.memarc.info/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Memorial Archives",
            "slug": "memorial-archives",
            "id": 1,
            "web": "http://memorial-archives.international/",
            "web_url": "https://translate.memarc.info/projects/memorial-archives/",
            "url": "https://translate.memarc.info/api/projects/memorial-archives/?format=api",
            "components_list_url": "https://translate.memarc.info/api/projects/memorial-archives/components/?format=api",
            "repository_url": "https://translate.memarc.info/api/projects/memorial-archives/repository/?format=api",
            "statistics_url": "https://translate.memarc.info/api/projects/memorial-archives/statistics/?format=api",
            "changes_list_url": "https://translate.memarc.info/api/projects/memorial-archives/changes/?format=api",
            "languages_url": "https://translate.memarc.info/api/projects/memorial-archives/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "New Widget Components can be translated here.",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "ssh://code.auxnet.de:22222/code/core-go.git",
        "git_export": "https://translate.memarc.info/git/memorial-archives/core/",
        "branch": "main",
        "push_branch": "translate",
        "filemask": "lang/*.json",
        "template": "lang/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "i18next",
        "license": "proprietary",
        "license_url": null,
        "agreement": "",
        "web_url": "https://translate.memarc.info/projects/memorial-archives/core/",
        "url": "https://translate.memarc.info/api/components/memorial-archives/core/?format=api",
        "repository_url": "https://translate.memarc.info/api/components/memorial-archives/core/repository/?format=api",
        "translations_url": "https://translate.memarc.info/api/components/memorial-archives/core/translations/?format=api",
        "statistics_url": "https://translate.memarc.info/api/components/memorial-archives/core/statistics/?format=api",
        "lock_url": "https://translate.memarc.info/api/components/memorial-archives/core/lock/?format=api",
        "links_url": "https://translate.memarc.info/api/components/memorial-archives/core/links/?format=api",
        "changes_list_url": "https://translate.memarc.info/api/components/memorial-archives/core/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "ssh://code.auxnet.de:22222/code/core-go.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,
        "manage_units": 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": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "ru",
    "id": 32,
    "filename": "lang/ru.json",
    "revision": "a8a61529daa6dc4d943a3d31f7c059537539ce88,cd17993b642798a7a18913e649091ceed5112235",
    "web_url": "https://translate.memarc.info/projects/memorial-archives/core/ru/",
    "share_url": "https://translate.memarc.info/engage/memorial-archives/ru/",
    "translate_url": "https://translate.memarc.info/translate/memorial-archives/core/ru/",
    "url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 61,
    "total_words": 74,
    "translated": 44,
    "translated_words": 53,
    "translated_percent": 72.1,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 3,
    "failing_checks_words": 3,
    "failing_checks_percent": 4.9,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2023-12-13T13:52:56.585365Z",
    "last_author": "Memorial Archives Translation Admin",
    "repository_url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/repository/?format=api",
    "file_url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/file/?format=api",
    "statistics_url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/statistics/?format=api",
    "changes_list_url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/changes/?format=api",
    "units_list_url": "https://translate.memarc.info/api/translations/memorial-archives/core/ru/units/?format=api"
}