Translation components API.

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

GET /api/translations/framinetest/glossary/ru/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 252,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "population": 19580014305,
        "web_url": "https://weblate.framasoft.org/languages/ru/",
        "url": "https://weblate.framasoft.org/api/languages/ru/",
        "statistics_url": "https://weblate.framasoft.org/api/languages/ru/statistics/"
    },
    "component": {
        "name": "Framinetest",
        "slug": "glossary",
        "id": 119,
        "source_language": {
            "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": 159034349015,
            "web_url": "https://weblate.framasoft.org/languages/en/",
            "url": "https://weblate.framasoft.org/api/languages/en/",
            "statistics_url": "https://weblate.framasoft.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "Framinetest",
            "slug": "framinetest",
            "id": 24,
            "web": "https://framinetest.org",
            "web_url": "https://weblate.framasoft.org/projects/framinetest/",
            "url": "https://weblate.framasoft.org/api/projects/framinetest/",
            "components_list_url": "https://weblate.framasoft.org/api/projects/framinetest/components/",
            "repository_url": "https://weblate.framasoft.org/api/projects/framinetest/repository/",
            "statistics_url": "https://weblate.framasoft.org/api/projects/framinetest/statistics/",
            "changes_list_url": "https://weblate.framasoft.org/api/projects/framinetest/changes/",
            "languages_url": "https://weblate.framasoft.org/api/projects/framinetest/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://weblate.framasoft.org/git/framinetest/glossary/",
        "branch": "main",
        "push_branch": "",
        "filemask": "*.tbx",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "tbx",
        "license": "CC-BY-SA-4.0",
        "license_url": "https://spdx.org/licenses/CC-BY-SA-4.0.html",
        "agreement": "",
        "web_url": "https://weblate.framasoft.org/projects/framinetest/glossary/",
        "url": "https://weblate.framasoft.org/api/components/framinetest/glossary/",
        "repository_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/repository/",
        "translations_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/translations/",
        "statistics_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/statistics/",
        "lock_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/lock/",
        "links_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/links/",
        "changes_list_url": "https://weblate.framasoft.org/api/components/framinetest/glossary/changes/",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": false,
        "manage_units": true,
        "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": [],
        "is_glossary": true,
        "glossary_color": "silver"
    },
    "language_code": "ru",
    "id": 2341,
    "filename": "ru.tbx",
    "revision": "a707eb0b067f141dc98e77ff33c3d42e12c3d712",
    "web_url": "https://weblate.framasoft.org/projects/framinetest/glossary/ru/",
    "share_url": "https://weblate.framasoft.org/engage/framinetest/ru/",
    "translate_url": "https://weblate.framasoft.org/translate/framinetest/glossary/ru/",
    "url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/",
    "is_template": false,
    "is_source": false,
    "total": 0,
    "total_words": 0,
    "translated": 0,
    "translated_words": 0,
    "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": null,
    "last_author": null,
    "repository_url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/repository/",
    "file_url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/file/",
    "statistics_url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/statistics/",
    "changes_list_url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/changes/",
    "units_list_url": "https://weblate.framasoft.org/api/translations/framinetest/glossary/ru/units/"
}