Translation components API.

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

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

{
    "language": {
        "id": 56,
        "code": "cs",
        "name": "Czech",
        "plural": {
            "id": 68,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 22
        },
        "aliases": [
            "cs_cs",
            "cz",
            "csy",
            "ces",
            "cze"
        ],
        "direction": "ltr",
        "population": 13045532,
        "web_url": "https://hosted.weblate.org/languages/cs/",
        "url": "https://hosted.weblate.org/api/languages/cs/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/cs/statistics/?format=api"
    },
    "component": {
        "name": "Tor Browser - tor-browser.ftl",
        "slug": "tb-tor-browser-ftl",
        "id": 25555,
        "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-tor-browser-ftl/",
        "branch": "tor-browser",
        "push_branch": "",
        "filemask": "*/tor-browser.ftl",
        "screenshot_filemask": "screenshots/*.png",
        "template": "en-US/tor-browser.ftl",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "fluent",
        "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-tor-browser-ftl/",
        "url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/tor/tor-browser%252Ftb-tor-browser-ftl/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": "git@gitlab.torproject.org:tpo/translation.git",
        "check_flags": "placeholders:\"[one]\":\"[other]\"",
        "priority": 80,
        "enforced_checks": [
            "fluent-parts",
            "fluent-references",
            "fluent-source-inner-html",
            "fluent-source-syntax",
            "fluent-target-inner-html",
            "fluent-target-syntax",
            "placeholders"
        ],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "tor-l10n@lists.torproject.org",
        "merge_style": "rebase",
        "commit_message": "new translations in weblate",
        "add_message": "Added translation using Weblate ({{ language_name }})",
        "delete_message": "Deleted translation using Weblate ({{ language_name }}). It was probably empty. If you want to translate to {{ language_name }}, please let us know.",
        "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/12332/?format=api",
            "https://hosted.weblate.org/api/addons/12330/?format=api",
            "https://hosted.weblate.org/api/addons/12334/?format=api",
            "https://hosted.weblate.org/api/addons/15252/?format=api",
            "https://hosted.weblate.org/api/addons/7840/?format=api",
            "https://hosted.weblate.org/api/addons/14931/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": "https://hosted.weblate.org/api/categories/9/?format=api",
        "linked_component": null
    },
    "language_code": "cs",
    "id": 1408059,
    "filename": "cs/tor-browser.ftl",
    "revision": "c0eb7ca603c835230552927f7532cce1964a09ef,75d2b4453caef5594e020280c904f8f7552aa0e4",
    "web_url": "https://hosted.weblate.org/projects/tor/tor-browser/tb-tor-browser-ftl/cs/",
    "share_url": "https://hosted.weblate.org/engage/tor/-/cs/",
    "translate_url": "https://hosted.weblate.org/translate/tor/tor-browser/tb-tor-browser-ftl/cs/",
    "url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 232,
    "total_words": 1493,
    "translated": 232,
    "translated_words": 1493,
    "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:04:50.718720+02:00",
    "last_author": "emma peel",
    "repository_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/tor/tor-browser%252Ftb-tor-browser-ftl/cs/units/?format=api"
}