Translation components API.

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

GET /api/translations/yast-registration/master/ar/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 166,
        "code": "ar",
        "name": "Arabic",
        "plural": {
            "id": 9,
            "source": 0,
            "number": 6,
            "formula": "n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5",
            "type": 3
        },
        "aliases": [
            "ar_ar",
            "ara",
            "arb"
        ],
        "direction": "rtl",
        "population": 351664195,
        "web_url": "https://l10n.opensuse.org/languages/ar/",
        "url": "https://l10n.opensuse.org/api/languages/ar/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/languages/ar/statistics/?format=api"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 198,
        "source_language": {
            "id": 144,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 72,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://l10n.opensuse.org/languages/en/",
            "url": "https://l10n.opensuse.org/api/languages/en/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "yast-registration",
            "slug": "yast-registration",
            "id": 174,
            "web": "https://github.com/yast/yast-registration",
            "web_url": "https://l10n.opensuse.org/projects/yast-registration/",
            "url": "https://l10n.opensuse.org/api/projects/yast-registration/?format=api",
            "components_list_url": "https://l10n.opensuse.org/api/projects/yast-registration/components/?format=api",
            "repository_url": "https://l10n.opensuse.org/api/projects/yast-registration/repository/?format=api",
            "statistics_url": "https://l10n.opensuse.org/api/projects/yast-registration/statistics/?format=api",
            "categories_url": "https://l10n.opensuse.org/api/projects/yast-registration/categories/?format=api",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/yast-registration/changes/?format=api",
            "languages_url": "https://l10n.opensuse.org/api/projects/yast-registration/languages/?format=api",
            "labels_url": "https://l10n.opensuse.org/api/projects/yast-registration/labels/?format=api",
            "credits_url": "https://l10n.opensuse.org/api/projects/yast-registration/credits/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "git",
        "repo": "git@github.com:yast/yast-translations.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "po/registration/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/registration/registration.pot",
        "file_format": "po",
        "license": "GPL-2.0-only",
        "license_url": "https://spdx.org/licenses/GPL-2.0-only.html",
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/yast-registration/master/",
        "url": "https://l10n.opensuse.org/api/components/yast-registration/master/?format=api",
        "repository_url": "https://l10n.opensuse.org/api/components/yast-registration/master/repository/?format=api",
        "translations_url": "https://l10n.opensuse.org/api/components/yast-registration/master/translations/?format=api",
        "statistics_url": "https://l10n.opensuse.org/api/components/yast-registration/master/statistics/?format=api",
        "lock_url": "https://l10n.opensuse.org/api/components/yast-registration/master/lock/?format=api",
        "links_url": "https://l10n.opensuse.org/api/components/yast-registration/master/links/?format=api",
        "changes_list_url": "https://l10n.opensuse.org/api/components/yast-registration/master/changes/?format=api",
        "task_url": null,
        "credits_url": "https://l10n.opensuse.org/api/components/yast-registration/master/credits/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:yast/yast-translations.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/yast/yast-registration/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
        "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 \"{{ hook_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": 2,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://l10n.opensuse.org/api/components/yast-base/master/?format=api"
    },
    "language_code": "ar",
    "id": 12316,
    "filename": "po/registration/ar.po",
    "revision": "0cf190045b7e36c30be0bc848b37b2bb24c94147",
    "web_url": "https://l10n.opensuse.org/projects/yast-registration/master/ar/",
    "share_url": "https://l10n.opensuse.org/engage/yast-registration/-/ar/",
    "translate_url": "https://l10n.opensuse.org/translate/yast-registration/master/ar/",
    "url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 271,
    "total_words": 2295,
    "translated": 215,
    "translated_words": 1573,
    "translated_percent": 79.3,
    "fuzzy": 24,
    "fuzzy_words": 240,
    "fuzzy_percent": 8.8,
    "failing_checks": 9,
    "failing_checks_words": 129,
    "failing_checks_percent": 3.3,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-09-25T02:33:27.837235Z",
    "last_author": null,
    "repository_url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/repository/?format=api",
    "file_url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/file/?format=api",
    "statistics_url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/statistics/?format=api",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/changes/?format=api",
    "units_list_url": "https://l10n.opensuse.org/api/translations/yast-registration/master/ar/units/?format=api"
}