Translation components API.

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

GET /api/translations/mypads/frontend/es/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 87,
        "code": "es",
        "name": "Spanish",
        "plural": {
            "id": 87,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "es_la",
            "esp",
            "spa"
        ],
        "direction": "ltr",
        "population": 493528078,
        "web_url": "https://weblate.framasoft.org/languages/es/",
        "url": "https://weblate.framasoft.org/api/languages/es/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/languages/es/statistics/?format=api"
    },
    "component": {
        "name": "Frontend",
        "slug": "frontend",
        "id": 63,
        "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": "MyPads",
            "slug": "mypads",
            "id": 27,
            "web": "https://framagit.org/framasoft/Etherpad/ep_mypads",
            "web_url": "https://weblate.framasoft.org/projects/mypads/",
            "url": "https://weblate.framasoft.org/api/projects/mypads/?format=api",
            "components_list_url": "https://weblate.framasoft.org/api/projects/mypads/components/?format=api",
            "repository_url": "https://weblate.framasoft.org/api/projects/mypads/repository/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/projects/mypads/statistics/?format=api",
            "categories_url": "https://weblate.framasoft.org/api/projects/mypads/categories/?format=api",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/mypads/changes/?format=api",
            "languages_url": "https://weblate.framasoft.org/api/projects/mypads/languages/?format=api",
            "labels_url": "https://weblate.framasoft.org/api/projects/mypads/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "https://framagit.org/framasoft/Etherpad/ep_mypads.git",
        "git_export": "https://weblate.framasoft.org/git/mypads/frontend/",
        "branch": "development",
        "push_branch": "",
        "filemask": "static/l10n/*.json",
        "screenshot_filemask": "",
        "template": "static/l10n/en.json",
        "edit_template": false,
        "intermediate": "",
        "new_base": "static/l10n/en.json",
        "file_format": "json-nested",
        "license": "Apache-2.0",
        "license_url": "https://spdx.org/licenses/Apache-2.0.html",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/mypads/frontend/",
        "url": "https://weblate.framasoft.org/api/components/mypads/frontend/?format=api",
        "repository_url": "https://weblate.framasoft.org/api/components/mypads/frontend/repository/?format=api",
        "translations_url": "https://weblate.framasoft.org/api/components/mypads/frontend/translations/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/components/mypads/frontend/statistics/?format=api",
        "lock_url": "https://weblate.framasoft.org/api/components/mypads/frontend/lock/?format=api",
        "links_url": "https://weblate.framasoft.org/api/components/mypads/frontend/links/?format=api",
        "changes_list_url": "https://weblate.framasoft.org/api/components/mypads/frontend/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://framagit.org/framasoft/Etherpad/ep_mypads.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://framagit.org/framasoft/Etherpad/ep_mypads/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 }}\n\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\n\n{% if component_linked_childs %}\nIt also includes following components:\n{% for linked in component_linked_childs %}\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n",
        "allow_translation_propagation": true,
        "manage_units": true,
        "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": "es",
    "id": 643,
    "filename": "static/l10n/es.json",
    "revision": "6b774643b21afe27fb969e94040d13cb5320ed62,f118a3bff104561ab1e38f0fecdf12e8b25623ab",
    "web_url": "https://weblate.framasoft.org/projects/mypads/frontend/es/",
    "share_url": "https://weblate.framasoft.org/engage/mypads/-/es/",
    "translate_url": "https://weblate.framasoft.org/translate/mypads/frontend/es/",
    "url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 381,
    "total_words": 3140,
    "translated": 381,
    "translated_words": 3140,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 4,
    "failing_checks_words": 4,
    "failing_checks_percent": 1.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2020-12-11T02:29:31.028989Z",
    "last_author": "Abel GΓ³mez",
    "repository_url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/repository/?format=api",
    "file_url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/file/?format=api",
    "statistics_url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/statistics/?format=api",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/changes/?format=api",
    "units_list_url": "https://weblate.framasoft.org/api/translations/mypads/frontend/es/units/?format=api"
}