Translation components API.

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

GET /api/translations/app-ops/app/en/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 80,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 159034349015,
        "web_url": "https://weblate.rikka.app/languages/en/",
        "url": "https://weblate.rikka.app/api/languages/en/",
        "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/"
    },
    "component": {
        "name": "app (Use \"Application\" instead)",
        "slug": "app",
        "id": 9,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 80,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 159034349015,
            "web_url": "https://weblate.rikka.app/languages/en/",
            "url": "https://weblate.rikka.app/api/languages/en/",
            "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/"
        },
        "project": {
            "name": "App Ops",
            "slug": "app-ops",
            "id": 5,
            "web": "https://appops.rikka.app",
            "web_url": "https://weblate.rikka.app/projects/app-ops/",
            "url": "https://weblate.rikka.app/api/projects/app-ops/",
            "components_list_url": "https://weblate.rikka.app/api/projects/app-ops/components/",
            "repository_url": "https://weblate.rikka.app/api/projects/app-ops/repository/",
            "statistics_url": "https://weblate.rikka.app/api/projects/app-ops/statistics/",
            "changes_list_url": "https://weblate.rikka.app/api/projects/app-ops/changes/",
            "languages_url": "https://weblate.rikka.app/api/projects/app-ops/languages/",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://weblate.rikka.app/git/app-ops/app/",
        "branch": "master",
        "push_branch": "",
        "filemask": "*.xml",
        "template": "en.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "Apache-2.0",
        "license_url": "https://spdx.org/licenses/Apache-2.0.html",
        "agreement": "",
        "web_url": "https://weblate.rikka.app/projects/app-ops/app/",
        "url": "https://weblate.rikka.app/api/components/app-ops/app/",
        "repository_url": "https://weblate.rikka.app/api/components/app-ops/app/repository/",
        "translations_url": "https://weblate.rikka.app/api/components/app-ops/app/translations/",
        "statistics_url": "https://weblate.rikka.app/api/components/app-ops/app/statistics/",
        "lock_url": "https://weblate.rikka.app/api/components/app-ops/app/lock/",
        "links_url": "https://weblate.rikka.app/api/components/app-ops/app/links/",
        "changes_list_url": "https://weblate.rikka.app/api/components/app-ops/app/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "java-format",
        "priority": 140,
        "enforced_checks": [
            "java_format",
            "escaped_newline",
            "end_ellipsis",
            "ellipsis",
            "zero-width-space"
        ],
        "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 }}",
        "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": 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": [
            "https://weblate.rikka.app/api/addons/13/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "en",
    "id": 29,
    "filename": "en.xml",
    "revision": "6608b6bcd088e6fd712f38f6af9f0479f057ea1c,6608b6bcd088e6fd712f38f6af9f0479f057ea1c",
    "web_url": "https://weblate.rikka.app/projects/app-ops/app/en/",
    "share_url": "https://weblate.rikka.app/engage/app-ops/en/",
    "translate_url": "https://weblate.rikka.app/translate/app-ops/app/en/",
    "url": "https://weblate.rikka.app/api/translations/app-ops/app/en/",
    "is_template": true,
    "is_source": true,
    "total": 338,
    "total_words": 2654,
    "translated": 338,
    "translated_words": 2654,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 60,
    "failing_checks_words": 946,
    "failing_checks_percent": 17.7,
    "have_suggestion": 0,
    "have_comment": 1,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://weblate.rikka.app/api/translations/app-ops/app/en/repository/",
    "file_url": "https://weblate.rikka.app/api/translations/app-ops/app/en/file/",
    "statistics_url": "https://weblate.rikka.app/api/translations/app-ops/app/en/statistics/",
    "changes_list_url": "https://weblate.rikka.app/api/translations/app-ops/app/en/changes/",
    "units_list_url": "https://weblate.rikka.app/api/translations/app-ops/app/en/units/"
}