Translation components API.

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

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

{
    "language": {
        "code": "th",
        "name": "Thai",
        "plural": {
            "id": 316,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "tha"
        ],
        "direction": "ltr",
        "population": 5489272000,
        "web_url": "https://weblate.rikka.app/languages/th/",
        "url": "https://weblate.rikka.app/api/languages/th/?format=api",
        "statistics_url": "https://weblate.rikka.app/api/languages/th/statistics/?format=api"
    },
    "component": {
        "name": "Application",
        "slug": "application",
        "id": 23,
        "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/?format=api",
            "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/?format=api"
        },
        "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/?format=api",
            "components_list_url": "https://weblate.rikka.app/api/projects/app-ops/components/?format=api",
            "repository_url": "https://weblate.rikka.app/api/projects/app-ops/repository/?format=api",
            "statistics_url": "https://weblate.rikka.app/api/projects/app-ops/statistics/?format=api",
            "changes_list_url": "https://weblate.rikka.app/api/projects/app-ops/changes/?format=api",
            "languages_url": "https://weblate.rikka.app/api/projects/app-ops/languages/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:RikkaApps/AppOps-Localization.git",
        "git_export": "https://weblate.rikka.app/git/app-ops/application/",
        "branch": "master",
        "push_branch": "master",
        "filemask": "app/src/main/res/values-*/strings.xml",
        "template": "app/src/main/res/values/strings.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/application/",
        "url": "https://weblate.rikka.app/api/components/app-ops/application/?format=api",
        "repository_url": "https://weblate.rikka.app/api/components/app-ops/application/repository/?format=api",
        "translations_url": "https://weblate.rikka.app/api/components/app-ops/application/translations/?format=api",
        "statistics_url": "https://weblate.rikka.app/api/components/app-ops/application/statistics/?format=api",
        "lock_url": "https://weblate.rikka.app/api/components/app-ops/application/lock/?format=api",
        "links_url": "https://weblate.rikka.app/api/components/app-ops/application/links/?format=api",
        "changes_list_url": "https://weblate.rikka.app/api/components/app-ops/application/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "[email protected]:RikkaApps/AppOps-Localization.git",
        "check_flags": "java-format",
        "priority": 100,
        "enforced_checks": [
            "java_format",
            "java_printf_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": 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": [
            "https://weblate.rikka.app/api/addons/24/?format=api",
            "https://weblate.rikka.app/api/addons/23/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "th",
    "id": 432,
    "filename": "app/src/main/res/values-th/strings.xml",
    "revision": "cbe828d53d8105cb9d505e78a1a4dc709d23ff61,8f71e43117eea21811601da4c9a6935ee80885a4",
    "web_url": "https://weblate.rikka.app/projects/app-ops/application/th/",
    "share_url": "https://weblate.rikka.app/engage/app-ops/th/",
    "translate_url": "https://weblate.rikka.app/translate/app-ops/application/th/",
    "url": "https://weblate.rikka.app/api/translations/app-ops/application/th/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 441,
    "total_words": 2895,
    "translated": 27,
    "translated_words": 292,
    "translated_percent": 6.1,
    "fuzzy": 2,
    "fuzzy_words": 33,
    "fuzzy_percent": 0.4,
    "failing_checks": 3,
    "failing_checks_words": 133,
    "failing_checks_percent": 0.6,
    "have_suggestion": 15,
    "have_comment": 0,
    "last_change": "2024-11-03T22:18:02.714447Z",
    "last_author": "Birthzero84",
    "repository_url": "https://weblate.rikka.app/api/translations/app-ops/application/th/repository/?format=api",
    "file_url": "https://weblate.rikka.app/api/translations/app-ops/application/th/file/?format=api",
    "statistics_url": "https://weblate.rikka.app/api/translations/app-ops/application/th/statistics/?format=api",
    "changes_list_url": "https://weblate.rikka.app/api/translations/app-ops/application/th/changes/?format=api",
    "units_list_url": "https://weblate.rikka.app/api/translations/app-ops/application/th/units/?format=api"
}