Translation components API.

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

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

{
    "language": {
        "id": 36,
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 255,
            "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": 22
        },
        "aliases": [
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "population": 195841151,
        "web_url": "https://hosted.weblate.org/languages/ru/",
        "url": "https://hosted.weblate.org/api/languages/ru/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "4.9",
        "slug": "4-9",
        "id": 243,
        "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": "phpMyAdmin",
            "slug": "phpmyadmin",
            "id": 24,
            "web": "https://www.phpmyadmin.net/",
            "web_url": "https://hosted.weblate.org/projects/phpmyadmin/",
            "url": "https://hosted.weblate.org/api/projects/phpmyadmin/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/phpmyadmin/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/phpmyadmin/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/phpmyadmin/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/phpmyadmin/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/phpmyadmin/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/phpmyadmin/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/phpmyadmin/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://www.phpmyadmin.net/translate/\nMailing list for translators: <translators@phpmyadmin.net\n",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/phpmyadmin/phpmyadmin.git",
        "git_export": "https://hosted.weblate.org/git/phpmyadmin/4-9/",
        "branch": "QA_4_9",
        "push_branch": "",
        "filemask": "po/*.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/phpmyadmin.pot",
        "file_format": "po",
        "license": "GPL-2.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
        "agreement": "If you would like to make a contribution to the phpMyAdmin Project, please\r\ncertify to the following:\r\n\r\nphpMyAdmin Developer's Certificate of Origin. Version 1.0\r\n\r\nBy making a contribution to this project, I certify that:\r\n\r\n(a) The contribution was created in whole or in part by me and I have the\r\n    right to submit it under the license of \"GNU General Public License or\r\n    any later version\" (\"GPLv2-or-later\"); or\r\n\r\n(b) The contribution is based upon previous work that, to the best of my\r\n    knowledge, is covered under an appropriate open source license and I have\r\n    the right under that license to submit that work with modifications,\r\n    whether created in whole or in part by me, under GPLv2-or-later; or\r\n\r\n(c) The contribution was provided directly to me by some other person who\r\n    certified (a) or (b) and I have not modified it.\r\n\r\n(d) I understand and agree that this project and the contribution are public\r\n    and that a record of the contribution (including all metadata and\r\n    personal information I submit with it, including my sign-off) is\r\n    maintained indefinitely and may be redistributed consistent with\r\n    phpMyAdmin's policies and the requirements of the GPLv2-or-later where\r\n    they are relevant.\r\n\r\n(e) I am granting this work to this project under the terms of the\r\n    GPLv2-or-later.\r\n\r\n    https://www.gnu.org/licenses/gpl-2.0.html",
        "web_url": "https://hosted.weblate.org/projects/phpmyadmin/4-9/",
        "url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/phpmyadmin/4-9/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:phpmyadmin/phpmyadmin.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/phpmyadmin/phpmyadmin/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "translators@phpmyadmin.net",
        "merge_style": "merge",
        "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\n[CI skip]\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}\r\nSigned-off-by: {{ author }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\r\n\r\n[CI skip]\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}\r\nSigned-off-by: {{ author }}",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\r\n\r\n[CI skip]\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}\r\nSigned-off-by: {{ author }}",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\r\n\r\n[CI skip]\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\nTranslate-URL: {{ url }}",
        "addon_message": "Update translation files\r\n\r\nUpdated by \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\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": 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": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "ru",
    "id": 3007,
    "filename": "po/ru.po",
    "revision": "adedec272a2aef9cd04f883fff5a3739adfaa890",
    "web_url": "https://hosted.weblate.org/projects/phpmyadmin/4-9/ru/",
    "share_url": "https://hosted.weblate.org/engage/phpmyadmin/-/ru/",
    "translate_url": "https://hosted.weblate.org/translate/phpmyadmin/4-9/ru/",
    "url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 3309,
    "total_words": 22025,
    "translated": 3309,
    "translated_words": 22025,
    "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": 1,
    "last_change": "2024-05-03T22:07:14.696318+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/phpmyadmin/4-9/ru/units/?format=api"
}