Translation components API.

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

GET /api/translations/peppercarrot/website/en/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "en",
        "name": "English",
        "plural": {
            "id": 76,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.framasoft.org/languages/en/",
        "url": "https://weblate.framasoft.org/api/languages/en/",
        "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/"
    },
    "component": {
        "name": "Website",
        "slug": "website",
        "id": 154,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 76,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://weblate.framasoft.org/languages/en/",
            "url": "https://weblate.framasoft.org/api/languages/en/",
            "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "Pepper & Carrot",
            "slug": "peppercarrot",
            "id": 45,
            "web": "https://www.peppercarrot.com/",
            "web_url": "https://weblate.framasoft.org/projects/peppercarrot/",
            "url": "https://weblate.framasoft.org/api/projects/peppercarrot/",
            "components_list_url": "https://weblate.framasoft.org/api/projects/peppercarrot/components/",
            "repository_url": "https://weblate.framasoft.org/api/projects/peppercarrot/repository/",
            "statistics_url": "https://weblate.framasoft.org/api/projects/peppercarrot/statistics/",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/peppercarrot/changes/",
            "languages_url": "https://weblate.framasoft.org/api/projects/peppercarrot/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Please read [our translaton instructions](https://www.peppercarrot.com/gd/documentation/110_Translate_the_website.html) before you start translating.",
            "enable_hooks": true,
            "language_aliases": "es_MX:mx,zh_Hans:cn,avk:kt,jbo:jb,nrf:nm,nds:ns,szl:sz,nb_NO:no,nb:no,en_US:en"
        },
        "vcs": "gitlab",
        "repo": "git@framagit.org:peppercarrot/website-2021.git",
        "git_export": "https://weblate.framasoft.org/git/peppercarrot/website/",
        "branch": "main",
        "push_branch": "",
        "filemask": "po/*.po",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "po/_catalog.pot",
        "file_format": "po",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "Please read [our Code of Conduct](https://www.peppercarrot.com/en/documentation/409_Code_of_Conduct.html) before interacting.",
        "web_url": "https://weblate.framasoft.org/projects/peppercarrot/website/",
        "url": "https://weblate.framasoft.org/api/components/peppercarrot/website/",
        "repository_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/repository/",
        "translations_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/translations/",
        "statistics_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/statistics/",
        "lock_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/lock/",
        "links_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/links/",
        "changes_list_url": "https://weblate.framasoft.org/api/components/peppercarrot/website/changes/",
        "task_url": null,
        "new_lang": "url",
        "language_code_style": "",
        "push": "git@framagit.org:peppercarrot/website-2021.git",
        "check_flags": "percent-placeholders,placeholders:r\"(%[a-z])|(%[0-9][$][a-z])|(<a href=\\\"\\S+\\\">)|(<\\/a>)|(<strong>)|(<\\/strong>)|(#pepper&carrot)|([Ll]ibera\\.[Cc]hat)|([Mm]atrix.org)\"",
        "priority": 100,
        "enforced_checks": [
            "plurals",
            "percent_placeholders",
            "placeholders"
        ],
        "restricted": false,
        "repoweb": "https://framagit.org/peppercarrot/website-2021/-/blob/{{branch}}/{{filename|parentdir}}#L{{line}}",
        "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 }}",
        "allow_translation_propagation": false,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 72,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "en",
    "id": 1641,
    "filename": "po/_catalog.pot",
    "revision": "e847f5cb04d1441c8d9a706f75ae3649f0df6d8e",
    "web_url": "https://weblate.framasoft.org/projects/peppercarrot/website/en/",
    "share_url": "https://weblate.framasoft.org/engage/peppercarrot/en/",
    "translate_url": "https://weblate.framasoft.org/translate/peppercarrot/website/en/",
    "url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/",
    "is_template": false,
    "is_source": true,
    "total": 220,
    "total_words": 1399,
    "translated": 220,
    "translated_words": 1399,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 29,
    "failing_checks_words": 439,
    "failing_checks_percent": 13.1,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/repository/",
    "file_url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/file/",
    "statistics_url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/statistics/",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/changes/",
    "units_list_url": "https://weblate.framasoft.org/api/translations/peppercarrot/website/en/units/"
}