Translation components API.

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

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

{
    "name": "game",
    "slug": "game",
    "id": 1,
    "source_language": {
        "id": 72,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 49,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "http://translate.beamng.com/languages/en/",
        "url": "http://translate.beamng.com/api/languages/en/?format=api",
        "statistics_url": "http://translate.beamng.com/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "BeamNG.drive",
        "slug": "beamngdrive",
        "id": 1,
        "web": "https://www.beamng.com",
        "web_url": "http://translate.beamng.com/projects/beamngdrive/",
        "url": "http://translate.beamng.com/api/projects/beamngdrive/?format=api",
        "components_list_url": "http://translate.beamng.com/api/projects/beamngdrive/components/?format=api",
        "repository_url": "http://translate.beamng.com/api/projects/beamngdrive/repository/?format=api",
        "statistics_url": "http://translate.beamng.com/api/projects/beamngdrive/statistics/?format=api",
        "categories_url": "http://translate.beamng.com/api/projects/beamngdrive/categories/?format=api",
        "changes_list_url": "http://translate.beamng.com/api/projects/beamngdrive/changes/?format=api",
        "languages_url": "http://translate.beamng.com/api/projects/beamngdrive/languages/?format=api",
        "labels_url": "http://translate.beamng.com/api/projects/beamngdrive/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "https://wiki.beamng.com/Translation",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": null,
    "repo": null,
    "git_export": "http://translate.beamng.com/git/beamngdrive/game/",
    "branch": null,
    "push_branch": "",
    "filemask": null,
    "screenshot_filemask": null,
    "template": "en-US.json",
    "edit_template": false,
    "intermediate": "",
    "new_base": "",
    "file_format": "json",
    "license": "ISC",
    "license_url": "https://spdx.org/licenses/ISC.html",
    "agreement": "",
    "web_url": "http://translate.beamng.com/projects/beamngdrive/game/",
    "url": "http://translate.beamng.com/api/components/beamngdrive/game/?format=api",
    "repository_url": "http://translate.beamng.com/api/components/beamngdrive/game/repository/?format=api",
    "translations_url": "http://translate.beamng.com/api/components/beamngdrive/game/translations/?format=api",
    "statistics_url": "http://translate.beamng.com/api/components/beamngdrive/game/statistics/?format=api",
    "lock_url": "http://translate.beamng.com/api/components/beamngdrive/game/lock/?format=api",
    "links_url": "http://translate.beamng.com/api/components/beamngdrive/game/links/?format=api",
    "changes_list_url": "http://translate.beamng.com/api/components/beamngdrive/game/changes/?format=api",
    "task_url": null,
    "new_lang": "contact",
    "language_code_style": "",
    "push": null,
    "check_flags": "",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "https://github.com/BeamNG/i18n/blob/master/{{filename}}#L{{line}}",
    "report_source_bugs": "admins@beamng.com",
    "merge_style": "merge",
    "commit_message": "Translated {{ language_name }}\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
    "add_message": "Added translation {{ language_name }}",
    "delete_message": "Deleted translation {{ language_name }}",
    "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.",
    "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ hook_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": true,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 1,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}