Translation components API.

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

GET /api/translations/peertube/server/it/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "it",
        "name": "Italian",
        "plural": {
            "id": 145,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "ita"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.framasoft.org/languages/it/",
        "url": "https://weblate.framasoft.org/api/languages/it/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/languages/it/statistics/?format=api"
    },
    "component": {
        "name": "server",
        "slug": "server",
        "id": 22,
        "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/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "PeerTube",
            "slug": "peertube",
            "id": 10,
            "web": "https://github.com/Chocobozzz/PeerTube",
            "web_url": "https://weblate.framasoft.org/projects/peertube/",
            "url": "https://weblate.framasoft.org/api/projects/peertube/?format=api",
            "components_list_url": "https://weblate.framasoft.org/api/projects/peertube/components/?format=api",
            "repository_url": "https://weblate.framasoft.org/api/projects/peertube/repository/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/projects/peertube/statistics/?format=api",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/peertube/changes/?format=api",
            "languages_url": "https://weblate.framasoft.org/api/projects/peertube/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/Chocobozzz/PeerTube.git",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "client/src/locale/server.*.json",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "client/src/locale/server.en-US.json",
        "file_format": "json",
        "license": "AGPL-3.0-only",
        "license_url": "https://www.gnu.org/licenses/agpl.txt",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/peertube/server/",
        "url": "https://weblate.framasoft.org/api/components/peertube/server/?format=api",
        "repository_url": "https://weblate.framasoft.org/api/components/peertube/server/repository/?format=api",
        "translations_url": "https://weblate.framasoft.org/api/components/peertube/server/translations/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/components/peertube/server/statistics/?format=api",
        "lock_url": "https://weblate.framasoft.org/api/components/peertube/server/lock/?format=api",
        "links_url": "https://weblate.framasoft.org/api/components/peertube/server/links/?format=api",
        "changes_list_url": "https://weblate.framasoft.org/api/components/peertube/server/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "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 }}",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "it-IT",
    "id": 258,
    "filename": "client/src/locale/server.it-IT.json",
    "revision": "3d374353ef816de6915cf23b93fecaad630ab3b4",
    "web_url": "https://weblate.framasoft.org/projects/peertube/server/it/",
    "share_url": "https://weblate.framasoft.org/engage/peertube/it/",
    "translate_url": "https://weblate.framasoft.org/translate/peertube/server/it/",
    "url": "https://weblate.framasoft.org/api/translations/peertube/server/it/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 246,
    "total_words": 366,
    "translated": 246,
    "translated_words": 366,
    "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": "2020-11-09T21:28:29.348491Z",
    "last_author": "x",
    "repository_url": "https://weblate.framasoft.org/api/translations/peertube/server/it/repository/?format=api",
    "file_url": "https://weblate.framasoft.org/api/translations/peertube/server/it/file/?format=api",
    "statistics_url": "https://weblate.framasoft.org/api/translations/peertube/server/it/statistics/?format=api",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/peertube/server/it/changes/?format=api",
    "units_list_url": "https://weblate.framasoft.org/api/translations/peertube/server/it/units/?format=api"
}