Translation components API.

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

GET /api/translations/wingpanel/indicator-sound-extra/gd/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 49,
        "code": "gd",
        "name": "Gaelic",
        "plural": {
            "id": 97,
            "source": 0,
            "number": 4,
            "formula": "(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : (n > 2 && n < 20) ? 2 : 3",
            "type": 6
        },
        "aliases": [
            "gae",
            "gla"
        ],
        "direction": "ltr",
        "population": 72337,
        "web_url": "https://l10n.elementary.io/languages/gd/",
        "url": "https://l10n.elementary.io/api/languages/gd/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/languages/gd/statistics/?format=api"
    },
    "component": {
        "name": "Sound Indicator (Extra)",
        "slug": "indicator-sound-extra",
        "id": 152,
        "source_language": {
            "id": 127,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 75,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://l10n.elementary.io/languages/en/",
            "url": "https://l10n.elementary.io/api/languages/en/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Wingpanel",
            "slug": "wingpanel",
            "id": 9,
            "web": "https://elementary.io",
            "web_url": "https://l10n.elementary.io/projects/wingpanel/",
            "url": "https://l10n.elementary.io/api/projects/wingpanel/?format=api",
            "components_list_url": "https://l10n.elementary.io/api/projects/wingpanel/components/?format=api",
            "repository_url": "https://l10n.elementary.io/api/projects/wingpanel/repository/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/projects/wingpanel/statistics/?format=api",
            "categories_url": "https://l10n.elementary.io/api/projects/wingpanel/categories/?format=api",
            "changes_list_url": "https://l10n.elementary.io/api/projects/wingpanel/changes/?format=api",
            "languages_url": "https://l10n.elementary.io/api/projects/wingpanel/languages/?format=api",
            "labels_url": "https://l10n.elementary.io/api/projects/wingpanel/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://elementary.io/docs/translation-guide",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:elementary/wingpanel-indicator-sound.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "po/extra/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/extra/extra.pot",
        "file_format": "po",
        "license": "GPL-3.0-only",
        "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://l10n.elementary.io/projects/wingpanel/indicator-sound-extra/",
        "url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/?format=api",
        "repository_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/repository/?format=api",
        "translations_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/translations/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/statistics/?format=api",
        "lock_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/lock/?format=api",
        "links_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/links/?format=api",
        "changes_list_url": "https://l10n.elementary.io/api/components/wingpanel/indicator-sound-extra/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "[email protected]:elementary/wingpanel-indicator-sound.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "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": false,
        "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": [
            "https://l10n.elementary.io/api/addons/204/?format=api",
            "https://l10n.elementary.io/api/addons/205/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://l10n.elementary.io/api/components/wingpanel/wingpanel-indicator-sound/?format=api"
    },
    "language_code": "gd",
    "id": 38844,
    "filename": "po/extra/gd.po",
    "revision": "06e1dddec0e5588f6f8a24f2faf194d90185b2b6",
    "web_url": "https://l10n.elementary.io/projects/wingpanel/indicator-sound-extra/gd/",
    "share_url": "https://l10n.elementary.io/engage/wingpanel/-/gd/",
    "translate_url": "https://l10n.elementary.io/translate/wingpanel/indicator-sound-extra/gd/",
    "url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 16,
    "total_words": 98,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-07-17T18:59:33.413838Z",
    "last_author": null,
    "repository_url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/repository/?format=api",
    "file_url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/file/?format=api",
    "statistics_url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/statistics/?format=api",
    "changes_list_url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/changes/?format=api",
    "units_list_url": "https://l10n.elementary.io/api/translations/wingpanel/indicator-sound-extra/gd/units/?format=api"
}