Translation components API.

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

GET /api/translations/fallout/dangerous-quest/ru/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 199,
            "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",
        "web_url": "https://hive.bgforge.net/languages/ru/",
        "url": "https://hive.bgforge.net/api/languages/ru/?format=api",
        "statistics_url": "https://hive.bgforge.net/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "Dangerous Quest!",
        "slug": "dangerous-quest",
        "id": 3,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 66,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://hive.bgforge.net/languages/en/",
            "url": "https://hive.bgforge.net/api/languages/en/?format=api",
            "statistics_url": "https://hive.bgforge.net/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Fallout",
            "slug": "fallout",
            "id": 13,
            "web": "https://forums.bgforge.net/viewforum.php?f=9",
            "web_url": "https://hive.bgforge.net/projects/fallout/",
            "url": "https://hive.bgforge.net/api/projects/fallout/?format=api",
            "components_list_url": "https://hive.bgforge.net/api/projects/fallout/components/?format=api",
            "repository_url": "https://hive.bgforge.net/api/projects/fallout/repository/?format=api",
            "statistics_url": "https://hive.bgforge.net/api/projects/fallout/statistics/?format=api",
            "changes_list_url": "https://hive.bgforge.net/api/projects/fallout/changes/?format=api",
            "languages_url": "https://hive.bgforge.net/api/projects/fallout/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": false,
            "instructions": "https://forums.bgforge.net/viewtopic.php?f=9&t=25",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:BGforgeNet/f2-dquest.git",
        "git_export": "https://hive.bgforge.net/git/fallout/dangerous-quest/",
        "branch": "master",
        "push_branch": "",
        "filemask": "data/text/po/*.po",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "data/text/po/english.pot",
        "file_format": "po",
        "license": "CC-BY-NC-SA-4.0",
        "license_url": "https://spdx.org/licenses/CC-BY-NC-SA-4.0.html",
        "agreement": "",
        "web_url": "https://hive.bgforge.net/projects/fallout/dangerous-quest/",
        "url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/?format=api",
        "repository_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/repository/?format=api",
        "translations_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/translations/?format=api",
        "statistics_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/statistics/?format=api",
        "lock_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/lock/?format=api",
        "links_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/links/?format=api",
        "changes_list_url": "https://hive.bgforge.net/api/components/fallout/dangerous-quest/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "[email protected]:BGforgeNet/f2-dquest.git",
        "check_flags": "ignore-end-space,ignore-end-question,ignore-end-exclamation,ignore-end-colon,ignore-end-stop,ignore-begin-space",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/BGforgeNet/f2-dquest/blob/{{branch}}/data/text/english/{{filename}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "Translated using {{ site_title }} ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
        "add_message": "Added translation using {{ site_title }} ({{ language_name }})",
        "delete_message": "Deleted translation using {{ site_title }} ({{ language_name }})",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into {{ site_title }}.",
        "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ addon_name }}\" hook in {{ site_title }}.\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": true,
        "enable_suggestions": true,
        "suggestion_voting": true,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 0,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://hive.bgforge.net/api/addons/37/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "russian",
    "id": 167,
    "filename": "data/text/po/russian.po",
    "revision": "39882a3ec1c7e4b01a6d904888c0e65f201a3441",
    "web_url": "https://hive.bgforge.net/projects/fallout/dangerous-quest/ru/",
    "share_url": "https://hive.bgforge.net/engage/fallout/ru/",
    "translate_url": "https://hive.bgforge.net/translate/fallout/dangerous-quest/ru/",
    "url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 863,
    "total_words": 14539,
    "translated": 863,
    "translated_words": 14539,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 4,
    "failing_checks_words": 155,
    "failing_checks_percent": 0.4,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2022-09-15T13:59:44.512560Z",
    "last_author": "tygyh",
    "repository_url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/repository/?format=api",
    "file_url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/file/?format=api",
    "statistics_url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/statistics/?format=api",
    "changes_list_url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/changes/?format=api",
    "units_list_url": "https://hive.bgforge.net/api/translations/fallout/dangerous-quest/ru/units/?format=api"
}