Translation components API.

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

GET /api/translations/joinpeertube/main/en_US/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "en_US",
        "name": "English (United States)",
        "plural": {
            "id": 84,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "us",
            "enu"
        ],
        "direction": "ltr",
        "population": 31608576000,
        "web_url": "https://weblate.framasoft.org/languages/en_US/",
        "url": "https://weblate.framasoft.org/api/languages/en_US/",
        "statistics_url": "https://weblate.framasoft.org/api/languages/en_US/statistics/"
    },
    "component": {
        "name": "main",
        "slug": "main",
        "id": 8,
        "source_language": {
            "code": "en_US",
            "name": "English (United States)",
            "plural": {
                "id": 84,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "us",
                "enu"
            ],
            "direction": "ltr",
            "population": 31608576000,
            "web_url": "https://weblate.framasoft.org/languages/en_US/",
            "url": "https://weblate.framasoft.org/api/languages/en_US/",
            "statistics_url": "https://weblate.framasoft.org/api/languages/en_US/statistics/"
        },
        "project": {
            "name": "joinpeertube",
            "slug": "joinpeertube",
            "id": 5,
            "web": "https://joinpeertube.org",
            "web_url": "https://weblate.framasoft.org/projects/joinpeertube/",
            "url": "https://weblate.framasoft.org/api/projects/joinpeertube/",
            "components_list_url": "https://weblate.framasoft.org/api/projects/joinpeertube/components/",
            "repository_url": "https://weblate.framasoft.org/api/projects/joinpeertube/repository/",
            "statistics_url": "https://weblate.framasoft.org/api/projects/joinpeertube/statistics/",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/joinpeertube/changes/",
            "languages_url": "https://weblate.framasoft.org/api/projects/joinpeertube/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "git@framagit.org:framasoft/peertube/joinpeertube.git",
        "git_export": "https://weblate.framasoft.org/git/joinpeertube/main/",
        "branch": "master",
        "push_branch": "",
        "filemask": "src/locale/*/app.po",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "src/locale/en_US/app.po",
        "file_format": "po",
        "license": "AGPL-3.0-only",
        "license_url": "https://spdx.org/licenses/AGPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/joinpeertube/main/",
        "url": "https://weblate.framasoft.org/api/components/joinpeertube/main/",
        "repository_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/repository/",
        "translations_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/translations/",
        "statistics_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/statistics/",
        "lock_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/lock/",
        "links_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/links/",
        "changes_list_url": "https://weblate.framasoft.org/api/components/joinpeertube/main/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://framagit.org/framasoft/peertube/joinpeertube/blob/{{branch}}/{{filename}}#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": "^(?!(en_US)$).+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "en_US",
    "id": 23,
    "filename": "src/locale/en_US/LC_MESSAGES/app.po",
    "revision": "c23c7098d2c29a6f866ceb308b761e426ddbf904",
    "web_url": "https://weblate.framasoft.org/projects/joinpeertube/main/en_US/",
    "share_url": "https://weblate.framasoft.org/engage/joinpeertube/en_US/",
    "translate_url": "https://weblate.framasoft.org/translate/joinpeertube/main/en_US/",
    "url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/",
    "is_template": false,
    "is_source": true,
    "total": 1323,
    "total_words": 23497,
    "translated": 1322,
    "translated_words": 23392,
    "translated_percent": 99.9,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 213,
    "failing_checks_words": 4235,
    "failing_checks_percent": 16.0,
    "have_suggestion": 1,
    "have_comment": 18,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/repository/",
    "file_url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/file/",
    "statistics_url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/statistics/",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/changes/",
    "units_list_url": "https://weblate.framasoft.org/api/translations/joinpeertube/main/en_US/units/"
}