Translation components API.

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

GET /api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 7,
        "code": "gl",
        "name": "Galician",
        "plural": {
            "id": 100,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "glg_es",
            "glg"
        ],
        "direction": "ltr",
        "population": 3515529,
        "web_url": "https://hosted.weblate.org/languages/gl/",
        "url": "https://hosted.weblate.org/api/languages/gl/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/gl/statistics/?format=api"
    },
    "component": {
        "name": "Tor Browser - aboutDialog.dtd",
        "slug": "tb-aboutdialogdtd",
        "id": 16048,
        "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": "https://hosted.weblate.org/git/tor/tor-browser/tb-aboutdialogdtd/",
        "branch": "tor-browser",
        "push_branch": "",
        "filemask": "*/aboutDialog.dtd",
        "screenshot_filemask": "",
        "template": "en-US/aboutDialog.dtd",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "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-aboutdialogdtd/",
        "url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-aboutdialogdtd/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": "git@gitlab.torproject.org:tpo/translation.git",
        "check_flags": "ignore-translated,forbidden,placeholders:\"&brandShortName;\":\"&vendorShortName;\"",
        "priority": 120,
        "enforced_checks": [
            "safe-html"
        ],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "tor-l10n@lists.torproject.org",
        "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/15148/?format=api",
            "https://hosted.weblate.org/api/addons/8146/?format=api",
            "https://hosted.weblate.org/api/addons/15253/?format=api",
            "https://hosted.weblate.org/api/addons/7838/?format=api",
            "https://hosted.weblate.org/api/addons/7839/?format=api",
            "https://hosted.weblate.org/api/addons/7858/?format=api",
            "https://hosted.weblate.org/api/addons/8150/?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"
    },
    "language_code": "gl",
    "id": 1345482,
    "filename": "gl/aboutDialog.dtd",
    "revision": "ab037ee4ba1eb0e7d6772602a9a912a3d2619756,d7161ee470acd6bd7110b20d5dcadc4dc8c25e8f",
    "web_url": "https://hosted.weblate.org/projects/tor/tor-browser/tb-aboutdialogdtd/gl/",
    "share_url": "https://hosted.weblate.org/engage/tor/-/gl/",
    "translate_url": "https://hosted.weblate.org/translate/tor/tor-browser/tb-aboutdialogdtd/gl/",
    "url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 12,
    "total_words": 46,
    "translated": 12,
    "translated_words": 46,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-05-28T11:05:23.197575+02:00",
    "last_author": "emma peel",
    "repository_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-aboutdialogdtd/gl/units/?format=api"
}