Translation components API.

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

GET /api/components/duduauto/dvr_a/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "DVR_A",
    "slug": "dvr_a",
    "id": 98,
    "source_language": {
        "id": 732,
        "code": "zh_Hans",
        "name": "Chinese (Simplified)",
        "plural": {
            "id": 732,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "chinese",
            "chinese_chs",
            "schinese",
            "chinese_zh",
            "cn",
            "zh",
            "zhcn",
            "zh_cn",
            "zh_chs",
            "cmn",
            "zh_hans_cn",
            "zh_cmn_hans",
            "chs",
            "chi"
        ],
        "direction": "ltr",
        "population": 1266066359,
        "web_url": "https://weblate.dudu-auto.com/languages/zh_Hans/",
        "url": "https://weblate.dudu-auto.com/api/languages/zh_Hans/?format=api",
        "statistics_url": "https://weblate.dudu-auto.com/api/languages/zh_Hans/statistics/?format=api"
    },
    "project": {
        "name": "DUDUAUTO",
        "slug": "duduauto",
        "id": 12,
        "web": "https://weblate.dudu-auto.com/",
        "web_url": "https://weblate.dudu-auto.com/projects/duduauto/",
        "url": "https://weblate.dudu-auto.com/api/projects/duduauto/?format=api",
        "components_list_url": "https://weblate.dudu-auto.com/api/projects/duduauto/components/?format=api",
        "repository_url": "https://weblate.dudu-auto.com/api/projects/duduauto/repository/?format=api",
        "statistics_url": "https://weblate.dudu-auto.com/api/projects/duduauto/statistics/?format=api",
        "categories_url": "https://weblate.dudu-auto.com/api/projects/duduauto/categories/?format=api",
        "changes_list_url": "https://weblate.dudu-auto.com/api/projects/duduauto/changes/?format=api",
        "languages_url": "https://weblate.dudu-auto.com/api/projects/duduauto/languages/?format=api",
        "labels_url": "https://weblate.dudu-auto.com/api/projects/duduauto/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "local",
    "repo": "local:",
    "git_export": "https://weblate.dudu-auto.com/git/duduauto/dvr_a/",
    "branch": "main",
    "push_branch": "",
    "filemask": "*.xml",
    "screenshot_filemask": "",
    "template": "zh_Hans.xml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "aresource",
    "license": "",
    "license_url": null,
    "agreement": "",
    "web_url": "https://weblate.dudu-auto.com/projects/duduauto/dvr_a/",
    "url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/?format=api",
    "repository_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/repository/?format=api",
    "translations_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/translations/?format=api",
    "statistics_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/statistics/?format=api",
    "lock_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/lock/?format=api",
    "links_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/links/?format=api",
    "changes_list_url": "https://weblate.dudu-auto.com/api/components/duduauto/dvr_a/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "",
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "",
    "report_source_bugs": "",
    "merge_style": "rebase",
    "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
    "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
    "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
    "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
    "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
    "pull_message": "Translations update from {{ site_title }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
    "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.dudu-auto.com/api/addons/5/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}