Translation components API.

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

GET /api/translations/supertux/world-1/eu/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "eu",
        "name": "Basque",
        "plural": {
            "id": 98,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "es_eu",
            "baq",
            "eus"
        ],
        "direction": "ltr",
        "population": 107419572,
        "web_url": "https://itzulpenak.gamerauntsia.eus/languages/eu/",
        "url": "https://itzulpenak.gamerauntsia.eus/api/languages/eu/?format=api",
        "statistics_url": "https://itzulpenak.gamerauntsia.eus/api/languages/eu/statistics/?format=api"
    },
    "component": {
        "name": "World-1",
        "slug": "world-1",
        "id": 8,
        "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",
            "population": 159034349015,
            "web_url": "https://itzulpenak.gamerauntsia.eus/languages/en/",
            "url": "https://itzulpenak.gamerauntsia.eus/api/languages/en/?format=api",
            "statistics_url": "https://itzulpenak.gamerauntsia.eus/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "SuperTux",
            "slug": "supertux",
            "id": 2,
            "web": "https://www.supertux.org/",
            "web_url": "https://itzulpenak.gamerauntsia.eus/projects/supertux/",
            "url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/?format=api",
            "components_list_url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/components/?format=api",
            "repository_url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/repository/?format=api",
            "statistics_url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/statistics/?format=api",
            "changes_list_url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/changes/?format=api",
            "languages_url": "https://itzulpenak.gamerauntsia.eus/api/projects/supertux/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "git@github.com:SuperTux/supertux.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "data/levels/world1/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "data/levels/world1/messages.pot",
        "file_format": "po",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "https://itzulpenak.gamerauntsia.eus/projects/supertux/world-1/",
        "url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/?format=api",
        "repository_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/repository/?format=api",
        "translations_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/translations/?format=api",
        "statistics_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/statistics/?format=api",
        "lock_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/lock/?format=api",
        "links_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/links/?format=api",
        "changes_list_url": "https://itzulpenak.gamerauntsia.eus/api/components/supertux/world-1/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 }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^(eu|es|fr)$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "eu",
    "id": 22,
    "filename": "data/levels/world1/eu.po",
    "revision": "e24ddb23b3b17515b3198f6126578b0038025dbb",
    "web_url": "https://itzulpenak.gamerauntsia.eus/projects/supertux/world-1/eu/",
    "share_url": "https://itzulpenak.gamerauntsia.eus/engage/supertux/eu/",
    "translate_url": "https://itzulpenak.gamerauntsia.eus/translate/supertux/world-1/eu/",
    "url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 65,
    "total_words": 639,
    "translated": 65,
    "translated_words": 639,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 3,
    "failing_checks_words": 23,
    "failing_checks_percent": 4.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/repository/?format=api",
    "file_url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/file/?format=api",
    "statistics_url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/statistics/?format=api",
    "changes_list_url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/changes/?format=api",
    "units_list_url": "https://itzulpenak.gamerauntsia.eus/api/translations/supertux/world-1/eu/units/?format=api"
}