Translation components API.

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

GET /api/translations/sidebar-macros/main/cs/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 113,
        "code": "cs",
        "name": "Czech",
        "plural": {
            "id": 113,
            "source": 0,
            "number": 3,
            "formula": "(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "cs_cs",
            "cz",
            "csy",
            "ces",
            "cze"
        ],
        "direction": "ltr",
        "population": 13045532,
        "web_url": "https://weblate.foundryvtt-hub.com/languages/cs/",
        "url": "https://weblate.foundryvtt-hub.com/api/languages/cs/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/languages/cs/statistics/?format=api"
    },
    "component": {
        "name": "main",
        "slug": "main",
        "id": 123,
        "source_language": {
            "id": 147,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 147,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://weblate.foundryvtt-hub.com/languages/en/",
            "url": "https://weblate.foundryvtt-hub.com/api/languages/en/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Sidebar Macros",
            "slug": "sidebar-macros",
            "id": 54,
            "web": "https://github.com/arcanistzed/sidebar-macros",
            "web_url": "https://weblate.foundryvtt-hub.com/projects/sidebar-macros/",
            "url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/?format=api",
            "components_list_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/components/?format=api",
            "repository_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/repository/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/statistics/?format=api",
            "categories_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/categories/?format=api",
            "changes_list_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/changes/?format=api",
            "languages_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/languages/?format=api",
            "labels_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/labels/?format=api",
            "credits_url": "https://weblate.foundryvtt-hub.com/api/projects/sidebar-macros/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "github",
        "repo": "https://github.com/arcanistzed/sidebar-macros.git",
        "git_export": "https://weblate.foundryvtt-hub.com/git/sidebar-macros/main/",
        "branch": "main",
        "push_branch": "",
        "filemask": "languages/*.json",
        "screenshot_filemask": "",
        "template": "languages/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json-nested",
        "license": "MIT",
        "license_url": "https://spdx.org/licenses/MIT.html",
        "agreement": "",
        "web_url": "https://weblate.foundryvtt-hub.com/projects/sidebar-macros/main/",
        "url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/?format=api",
        "repository_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/repository/?format=api",
        "translations_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/translations/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/statistics/?format=api",
        "lock_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/lock/?format=api",
        "links_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/links/?format=api",
        "changes_list_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/changes/?format=api",
        "task_url": null,
        "credits_url": "https://weblate.foundryvtt-hub.com/api/components/sidebar-macros/main/credits/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "feat: updated ({{ language_name }}) translations using Weblate\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "add_message": "feat: added ({{ language_name }}) translations using Weblate\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "delete_message": "feat: deleted ({{ language_name }}) translations using Weblate\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "merge_message": "refactor: merge branch '{{ component_remote_branch }}' into Weblate",
        "addon_message": "feat: 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": "feat: 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": true,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 0,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://weblate.foundryvtt-hub.com/api/addons/120/?format=api",
            "https://weblate.foundryvtt-hub.com/api/addons/121/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "cs",
    "id": 1429,
    "filename": "languages/cs.json",
    "revision": "5b0c0fd997c57e1215f01d97dae1c9d10203b6ff,c77ac74fe056aeeea95db11cd0ec3863cebf5e7a",
    "web_url": "https://weblate.foundryvtt-hub.com/projects/sidebar-macros/main/cs/",
    "share_url": "https://weblate.foundryvtt-hub.com/engage/sidebar-macros/-/cs/",
    "translate_url": "https://weblate.foundryvtt-hub.com/translate/sidebar-macros/main/cs/",
    "url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 5,
    "total_words": 58,
    "translated": 5,
    "translated_words": 58,
    "translated_percent": 100.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": "2023-10-01T17:24:07.588675Z",
    "last_author": null,
    "repository_url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/repository/?format=api",
    "file_url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/file/?format=api",
    "statistics_url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/statistics/?format=api",
    "changes_list_url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/changes/?format=api",
    "units_list_url": "https://weblate.foundryvtt-hub.com/api/translations/sidebar-macros/main/cs/units/?format=api"
}