Translation components API.

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

GET /api/translations/guix/website/lt/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 187,
        "code": "lt",
        "name": "Lithuanian",
        "plural": {
            "id": 187,
            "source": 0,
            "number": 3,
            "formula": "(n % 10 == 1 && (n % 100 < 11 || n % 100 > 19)) ? 0 : ((n % 10 >= 2 && n % 10 <= 9 && (n % 100 < 11 || n % 100 > 19)) ? 1 : 2)",
            "type": 2
        },
        "aliases": [
            "lit"
        ],
        "direction": "ltr",
        "population": 2488617,
        "web_url": "https://translate.fedoraproject.org/languages/lt/",
        "url": "https://translate.fedoraproject.org/api/languages/lt/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/lt/statistics/?format=api"
    },
    "component": {
        "name": "website",
        "slug": "website",
        "id": 3183,
        "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://translate.fedoraproject.org/languages/en/",
            "url": "https://translate.fedoraproject.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "guix",
            "slug": "guix",
            "id": 111,
            "web": "https://guix.gnu.org/",
            "web_url": "https://translate.fedoraproject.org/projects/guix/",
            "url": "https://translate.fedoraproject.org/api/projects/guix/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/guix/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/guix/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/guix/statistics/?format=api",
            "categories_url": "https://translate.fedoraproject.org/api/projects/guix/categories/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/guix/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/guix/languages/?format=api",
            "labels_url": "https://translate.fedoraproject.org/api/projects/guix/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "See the [manual](https://guix.gnu.org/manual/devel/en/html_node/Translating-Guix.html) for specific instructions.\r\n\r\nNeed help translating? You can reach out to us on the mailing list <help-guix@gnu.org>, on IRC (#guix on Freenode), or ping @roptat",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "git@framagit.org:tyreunom/guix-translations.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "website/po/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "website/po/guix-website.pot",
        "file_format": "po",
        "license": "AGPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/guix/website/",
        "url": "https://translate.fedoraproject.org/api/components/guix/website/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/guix/website/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/guix/website/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/guix/website/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/guix/website/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/guix/website/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/guix/website/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@framagit.org:tyreunom/guix-translations.git",
        "check_flags": "ignore-newline-count",
        "priority": 80,
        "enforced_checks": [
            "xml-tags",
            "xml-invalid"
        ],
        "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 }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
        "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://translate.fedoraproject.org/api/addons/9433/?format=api",
            "https://translate.fedoraproject.org/api/addons/9423/?format=api",
            "https://translate.fedoraproject.org/api/addons/9434/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://translate.fedoraproject.org/api/components/guix/guix/?format=api"
    },
    "language_code": "lt",
    "id": 79200,
    "filename": "website/po/lt.po",
    "revision": "773575bf01c21012d4b635b58d7e437f249885fc",
    "web_url": "https://translate.fedoraproject.org/projects/guix/website/lt/",
    "share_url": "https://translate.fedoraproject.org/engage/guix/-/lt/",
    "translate_url": "https://translate.fedoraproject.org/translate/guix/website/lt/",
    "url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 344,
    "total_words": 3328,
    "translated": 342,
    "translated_words": 3324,
    "translated_percent": 99.4,
    "fuzzy": 1,
    "fuzzy_words": 3,
    "fuzzy_percent": 0.2,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 1,
    "have_comment": 1,
    "last_change": "2024-05-03T22:54:11.309884Z",
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/guix/website/lt/units/?format=api"
}