Translation components API.

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

GET /api/components/tor/tor-browser%252Ftb-torbuttondtd/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "Tor Browser - torbutton.dtd",
    "slug": "tb-torbuttondtd",
    "id": 16074,
    "source_language": {
        "id": 31,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 75,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://hosted.weblate.org/languages/en/",
        "url": "https://hosted.weblate.org/api/languages/en/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "Tor Project",
        "slug": "tor",
        "id": 3043,
        "web": "https://www.torproject.org/",
        "web_url": "https://hosted.weblate.org/projects/tor/",
        "url": "https://hosted.weblate.org/api/projects/tor/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/tor/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/tor/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/tor/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/tor/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/tor/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/tor/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/tor/labels/?format=api",
        "translation_review": true,
        "source_review": false,
        "set_language_team": true,
        "instructions": "All the contributions to the Tor Project are bound by our Code of Conduct: https://gitweb.torproject.org/community/policies.git/plain/code_of_conduct.txt\r\n\r\nTo share skills and solve any doubts, please join the Tor Localization community: \r\nhttps://gitlab.torproject.org/tpo/community/l10n/-/wikis/Localization-for-translators\r\n\r\nPlease see our language statistics at https://tpo.pages.torproject.net/community/l10n/stats.html \r\nwith up to date information about translation priorities.\r\n\r\n### Remember that your name and email will appear on some translation files.\r\n### We encourage the use of pseudonyms!",
        "enable_hooks": true,
        "language_aliases": "bn-BD:bn,es-ES:es,es_ES:es,fy-NL:fy,gu-IN:gu,gu_IN:gu,gu-rIN:gu,hi-IN:hi,hi_IN:hi,hy-AM:hy,hy_AM:hy,sv-SE:sv,sv_SE:sv,en_US:en,en-US:en,pt-BR:pt_BR,zh-CN:zh_Hans,zh-TW:zh_Hant"
    },
    "vcs": "git",
    "repo": "https://gitlab.torproject.org/tpo/translation/",
    "git_export": "",
    "branch": "tor-browser",
    "push_branch": "",
    "filemask": "*/torbutton.dtd",
    "screenshot_filemask": "",
    "template": "en-US/torbutton.dtd",
    "edit_template": false,
    "intermediate": "",
    "new_base": "en-US/torbutton.dtd",
    "file_format": "dtd",
    "license": "MPL-2.0",
    "license_url": "https://spdx.org/licenses/MPL-2.0.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/tor/tor-browser/tb-torbuttondtd/",
    "url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-torbuttondtd/changes/?format=api",
    "task_url": null,
    "new_lang": "contact",
    "language_code_style": "",
    "push": "git@gitlab.torproject.org:tpo/translation.git",
    "check_flags": "ignore-translated",
    "priority": 100,
    "enforced_checks": [
        "icu_message_format",
        "java_printf_format"
    ],
    "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": 1,
    "auto_lock_error": false,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://hosted.weblate.org/api/addons/7881/?format=api",
        "https://hosted.weblate.org/api/addons/7882/?format=api",
        "https://hosted.weblate.org/api/addons/7883/?format=api",
        "https://hosted.weblate.org/api/addons/8166/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": "https://hosted.weblate.org/api/categories/9/?format=api",
    "linked_component": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/?format=api"
}