Translation components API.

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

GET /api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 12,
        "code": "tr",
        "name": "Turkish",
        "plural": {
            "id": 323,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "trk",
            "tur"
        ],
        "direction": "ltr",
        "population": 80360705,
        "web_url": "https://hosted.weblate.org/languages/tr/",
        "url": "https://hosted.weblate.org/api/languages/tr/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/tr/statistics/?format=api"
    },
    "component": {
        "name": "gtk4-ding.pot",
        "slug": "gtk4-ding-pot",
        "id": 15961,
        "source_language": {
            "id": 31,
            "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://hosted.weblate.org/languages/en/",
            "url": "https://hosted.weblate.org/api/languages/en/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "gtk4-desktop-icons-ng",
            "slug": "gtk4-desktop-icons-ng",
            "id": 3380,
            "web": "https://gitlab.com/smedius/desktop-icons-ng",
            "web_url": "https://hosted.weblate.org/projects/gtk4-desktop-icons-ng/",
            "url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/gtk4-desktop-icons-ng/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Project uses gettext for translation with po and pot files.\r\n\r\nAll strings in the project are in English.\r\n\r\nPlease feel free to translate them into the Language of your choice.\r\n\r\nYou can add languages on the Weblate web site as well.",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "git@gitlab.com:smedius/desktop-icons-ng.git",
        "git_export": "https://hosted.weblate.org/git/gtk4-desktop-icons-ng/gtk4-ding-pot/",
        "branch": "main",
        "push_branch": "weblate-translation",
        "filemask": "po/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/gtk4-ding.pot",
        "file_format": "po",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/gtk4-desktop-icons-ng/gtk4-ding-pot/",
        "url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/gtk4-desktop-icons-ng/gtk4-ding-pot/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@gitlab.com:smedius/desktop-icons-ng.git",
        "check_flags": "max-length:150,ignore-end-exclamation",
        "priority": 80,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://gitlab.com/smedius/desktop-icons-ng/blob/{{branch}}/{{filename}}#L{{line}}",
        "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": true,
        "suggestion_autoaccept": 2,
        "push_on_commit": true,
        "commit_pending_age": 24,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://hosted.weblate.org/api/addons/12360/?format=api",
            "https://hosted.weblate.org/api/addons/7772/?format=api",
            "https://hosted.weblate.org/api/addons/7771/?format=api",
            "https://hosted.weblate.org/api/addons/7773/?format=api",
            "https://hosted.weblate.org/api/addons/7770/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "tr",
    "id": 1343807,
    "filename": "po/tr.po",
    "revision": "85dbe90822afb88f1301f8394974791ee5f2365d",
    "web_url": "https://hosted.weblate.org/projects/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/",
    "share_url": "https://hosted.weblate.org/engage/gtk4-desktop-icons-ng/-/tr/",
    "translate_url": "https://hosted.weblate.org/translate/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/",
    "url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 251,
    "total_words": 1127,
    "translated": 85,
    "translated_words": 339,
    "translated_percent": 33.8,
    "fuzzy": 165,
    "fuzzy_words": 762,
    "fuzzy_percent": 65.7,
    "failing_checks": 17,
    "failing_checks_words": 65,
    "failing_checks_percent": 6.7,
    "have_suggestion": 66,
    "have_comment": 0,
    "last_change": "2024-05-02T21:07:08.554947+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/gtk4-desktop-icons-ng/gtk4-ding-pot/tr/units/?format=api"
}