Translation components API.

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

GET /api/translations/christmas-countdown/discord-bot/cs/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 56,
        "code": "cs",
        "name": "Czech",
        "plural": {
            "id": 68,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 22
        },
        "aliases": [
            "cs_cs",
            "cz",
            "csy",
            "ces",
            "cze"
        ],
        "direction": "ltr",
        "population": 13045532,
        "web_url": "https://hosted.weblate.org/languages/cs/",
        "url": "https://hosted.weblate.org/api/languages/cs/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/cs/statistics/?format=api"
    },
    "component": {
        "name": "Discord Bot",
        "slug": "discord-bot",
        "id": 15669,
        "source_language": {
            "id": 62,
            "code": "en_GB",
            "name": "English (United Kingdom)",
            "plural": {
                "id": 81,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "english_uk",
                "eng_gb"
            ],
            "direction": "ltr",
            "population": 64445878,
            "web_url": "https://hosted.weblate.org/languages/en_GB/",
            "url": "https://hosted.weblate.org/api/languages/en_GB/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en_GB/statistics/?format=api"
        },
        "project": {
            "name": "Christmas Countdown",
            "slug": "christmas-countdown",
            "id": 3270,
            "web": "https://christmascountdown.live",
            "web_url": "https://hosted.weblate.org/projects/christmas-countdown/",
            "url": "https://hosted.weblate.org/api/projects/christmas-countdown/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/christmas-countdown/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/christmas-countdown/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/christmas-countdown/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/christmas-countdown/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/christmas-countdown/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/christmas-countdown/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/christmas-countdown/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "- Please only contribute translations if you are fluent in both English and the target language.\r\n- Keep the meaning of translated strings as close to the original as possible.\r\n- Don't translate names such as \"Christmas Countdown\", \"Christmas Radio\", \"eartharoid\", or \"Discord\".\r\n- Don't translate placeholder names (`{example}`)",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "git@github.com:christmas-countdown/bot.git",
        "git_export": "https://hosted.weblate.org/git/christmas-countdown/discord-bot/",
        "branch": "main",
        "push_branch": "",
        "filemask": "src/locales/*.json",
        "screenshot_filemask": "",
        "template": "src/locales/en-GB.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "src/locales/en-GB.json",
        "file_format": "json-nested",
        "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/christmas-countdown/discord-bot/",
        "url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/christmas-countdown/discord-bot/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:christmas-countdown/bot.git",
        "check_flags": "check-glossary",
        "priority": 80,
        "enforced_checks": [
            "ellipsis",
            "md-link",
            "md-syntax",
            "end_ellipsis",
            "end_exclamation",
            "end_stop",
            "escaped_newline",
            "plurals"
        ],
        "restricted": false,
        "repoweb": "https://github.com/christmas-countdown/bot/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "contact@christmascountdown.live",
        "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://hosted.weblate.org/api/addons/7525/?format=api",
            "https://hosted.weblate.org/api/addons/7521/?format=api",
            "https://hosted.weblate.org/api/addons/7526/?format=api",
            "https://hosted.weblate.org/api/addons/7522/?format=api",
            "https://hosted.weblate.org/api/addons/7523/?format=api",
            "https://hosted.weblate.org/api/addons/7524/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "cs-CZ",
    "id": 1281825,
    "filename": "src/locales/cs-CZ.json",
    "revision": "f3022da028eeea3fadce062748317265d152d944,d5782ac6ac6d76e1b79da5c60e09a37c3bc18b90",
    "web_url": "https://hosted.weblate.org/projects/christmas-countdown/discord-bot/cs/",
    "share_url": "https://hosted.weblate.org/engage/christmas-countdown/-/cs/",
    "translate_url": "https://hosted.weblate.org/translate/christmas-countdown/discord-bot/cs/",
    "url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 157,
    "total_words": 846,
    "translated": 74,
    "translated_words": 371,
    "translated_percent": 47.1,
    "fuzzy": 83,
    "fuzzy_words": 475,
    "fuzzy_percent": 52.8,
    "failing_checks": 77,
    "failing_checks_words": 480,
    "failing_checks_percent": 49.0,
    "have_suggestion": 5,
    "have_comment": 0,
    "last_change": "2023-10-16T21:07:42.016781+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/christmas-countdown/discord-bot/cs/units/?format=api"
}