Translation components API.

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

GET /api/translations/lstu/development/oc/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 229,
        "code": "oc",
        "name": "Occitan",
        "plural": {
            "id": 229,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "oci"
        ],
        "direction": "ltr",
        "population": 2040397,
        "web_url": "https://weblate.framasoft.org/languages/oc/",
        "url": "https://weblate.framasoft.org/api/languages/oc/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/languages/oc/statistics/?format=api"
    },
    "component": {
        "name": "Default theme",
        "slug": "development",
        "id": 147,
        "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": "Lstu",
            "slug": "lstu",
            "id": 14,
            "web": "https://framagit.org/fiat-tux/hat-softwares/lstu",
            "web_url": "https://weblate.framasoft.org/projects/lstu/",
            "url": "https://weblate.framasoft.org/api/projects/lstu/?format=api",
            "components_list_url": "https://weblate.framasoft.org/api/projects/lstu/components/?format=api",
            "repository_url": "https://weblate.framasoft.org/api/projects/lstu/repository/?format=api",
            "statistics_url": "https://weblate.framasoft.org/api/projects/lstu/statistics/?format=api",
            "categories_url": "https://weblate.framasoft.org/api/projects/lstu/categories/?format=api",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/lstu/changes/?format=api",
            "languages_url": "https://weblate.framasoft.org/api/projects/lstu/languages/?format=api",
            "labels_url": "https://weblate.framasoft.org/api/projects/lstu/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://framagit.org/fiat-tux/hat-softwares/lstu/wikis/contribute#internationalization",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "https://framagit.org/fiat-tux/hat-softwares/lstu.git",
        "git_export": "https://weblate.framasoft.org/git/lstu/development/",
        "branch": "development",
        "push_branch": "",
        "filemask": "themes/default/lib/Lstu/I18N/*.po",
        "screenshot_filemask": "",
        "template": "themes/default/lib/Lstu/I18N/en.po",
        "edit_template": false,
        "intermediate": "",
        "new_base": "themes/default/lib/Lstu/I18N/lstu.pot",
        "file_format": "po-mono",
        "license": "WTFPL",
        "license_url": "https://spdx.org/licenses/WTFPL.html",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/lstu/development/",
        "url": "https://weblate.framasoft.org/api/components/lstu/development/?format=api",
        "repository_url": "https://weblate.framasoft.org/api/components/lstu/development/repository/?format=api",
        "translations_url": "https://weblate.framasoft.org/api/components/lstu/development/translations/?format=api",
        "statistics_url": "https://weblate.framasoft.org/api/components/lstu/development/statistics/?format=api",
        "lock_url": "https://weblate.framasoft.org/api/components/lstu/development/lock/?format=api",
        "links_url": "https://weblate.framasoft.org/api/components/lstu/development/links/?format=api",
        "changes_list_url": "https://weblate.framasoft.org/api/components/lstu/development/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://framagit.org/fiat-tux/hat-softwares/lstu.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://framagit.org/fiat-tux/hat-softwares/lstu/blob/{{branch}}/{{filename}}#L{{line}}",
        "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": 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": "oc",
    "id": 1425,
    "filename": "themes/default/lib/Lstu/I18N/oc.po",
    "revision": "9bc16963574933ee06c81b7ae4ab9911882e1103,23ef1191e1fefc4b71c01e4c365234b97da81649",
    "web_url": "https://weblate.framasoft.org/projects/lstu/development/oc/",
    "share_url": "https://weblate.framasoft.org/engage/lstu/-/oc/",
    "translate_url": "https://weblate.framasoft.org/translate/lstu/development/oc/",
    "url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 76,
    "total_words": 546,
    "translated": 76,
    "translated_words": 546,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 2,
    "failing_checks_words": 2,
    "failing_checks_percent": 2.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-04-27T10:44:12.789557Z",
    "last_author": "Quentin PAGÈS",
    "repository_url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/repository/?format=api",
    "file_url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/file/?format=api",
    "statistics_url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/statistics/?format=api",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/changes/?format=api",
    "units_list_url": "https://weblate.framasoft.org/api/translations/lstu/development/oc/units/?format=api"
}