Translation components API.

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

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

{
    "language": {
        "id": 116,
        "code": "gl",
        "name": "Galician",
        "plural": {
            "id": 116,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "glg_es",
            "glg"
        ],
        "direction": "ltr",
        "population": 3515529,
        "web_url": "https://weblate.framasoft.org/languages/gl/",
        "url": "https://weblate.framasoft.org/api/languages/gl/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/languages/gl/statistics/?format=api"
    },
    "component": {
        "name": "angular",
        "slug": "angular",
        "id": 19,
        "source_language": {
            "id": 76,
            "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",
            "population": 1636485517,
            "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",
            "categories_url": "https://weblate.framasoft.org/api/projects/peertube/categories/?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",
            "labels_url": "https://weblate.framasoft.org/api/projects/peertube/labels/?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": "https://weblate.framasoft.org/git/peertube/angular/",
        "branch": "develop",
        "push_branch": "",
        "filemask": "client/src/locale/angular.*.xlf",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "client/src/locale/angular.xlf",
        "file_format": "xliff",
        "license": "AGPL-3.0-only",
        "license_url": "https://spdx.org/licenses/AGPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/peertube/angular/",
        "url": "https://weblate.framasoft.org/api/components/peertube/angular/?format=api",
        "repository_url": "https://weblate.framasoft.org/api/components/peertube/angular/repository/?format=api",
        "translations_url": "https://weblate.framasoft.org/api/components/peertube/angular/translations/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/components/peertube/angular/statistics/?format=api",
        "lock_url": "https://weblate.framasoft.org/api/components/peertube/angular/lock/?format=api",
        "links_url": "https://weblate.framasoft.org/api/components/peertube/angular/links/?format=api",
        "changes_list_url": "https://weblate.framasoft.org/api/components/peertube/angular/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/Chocobozzz/PeerTube/blob/{{branch}}/client/{{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 }}",
        "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": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "gl-ES",
    "id": 203,
    "filename": "client/src/locale/angular.gl-ES.xlf",
    "revision": "28eb891c49e73e725d248319fc0ce5cfae19068e",
    "web_url": "https://weblate.framasoft.org/projects/peertube/angular/gl/",
    "share_url": "https://weblate.framasoft.org/engage/peertube/-/gl/",
    "translate_url": "https://weblate.framasoft.org/translate/peertube/angular/gl/",
    "url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 2367,
    "total_words": 14771,
    "translated": 2367,
    "translated_words": 14771,
    "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": 1,
    "have_comment": 1,
    "last_change": "2024-03-28T06:01:01.093061Z",
    "last_author": null,
    "repository_url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/repository/?format=api",
    "file_url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/file/?format=api",
    "statistics_url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/statistics/?format=api",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/changes/?format=api",
    "units_list_url": "https://weblate.framasoft.org/api/translations/peertube/angular/gl/units/?format=api"
}