Translation components API.

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

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

{
    "language": {
        "id": 252,
        "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": 195841151,
        "web_url": "https://translate.fedoraproject.org/languages/ru/",
        "url": "https://translate.fedoraproject.org/api/languages/ru/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "getfedora.org",
        "slug": "getfedoraorg",
        "id": 87,
        "source_language": {
            "id": 76,
            "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": 1636485517,
            "web_url": "https://translate.fedoraproject.org/languages/en/",
            "url": "https://translate.fedoraproject.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "fedora-websites",
            "slug": "fedora-websites",
            "id": 28,
            "web": "https://pagure.io/fedora-websites/",
            "web_url": "https://translate.fedoraproject.org/projects/fedora-websites/",
            "url": "https://translate.fedoraproject.org/api/projects/fedora-websites/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/statistics/?format=api",
            "categories_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/categories/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/languages/?format=api",
            "labels_url": "https://translate.fedoraproject.org/api/projects/fedora-websites/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "\nMailing list for translators: <trans@lists.fedoraproject.org\n",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "ssh://pagure.io/fedora-web/translations.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "getfedora.org-redesign/*/LC_MESSAGES/messages.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "getfedora.org-redesign/getfedora.org.pot",
        "file_format": "po",
        "license": "CC-BY-3.0",
        "license_url": "https://spdx.org/licenses/CC-BY-3.0.html",
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/fedora-websites/getfedoraorg/",
        "url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/fedora-websites/getfedoraorg/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "ssh://pagure.io/fedora-web/translations.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [
            "python_format"
        ],
        "restricted": false,
        "repoweb": "https://pagure.io/fedora-web/websites/blob/{{branch}}/f/sites/{{filename|parentdir|parentdir}}#_{{line}}",
        "report_source_bugs": "",
        "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://translate.fedoraproject.org/api/addons/231/?format=api",
            "https://translate.fedoraproject.org/api/addons/10051/?format=api",
            "https://translate.fedoraproject.org/api/addons/232/?format=api",
            "https://translate.fedoraproject.org/api/addons/230/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://translate.fedoraproject.org/api/components/fedora-websites/altfedoraprojectorg/?format=api"
    },
    "language_code": "ru",
    "id": 2209,
    "filename": "getfedora.org-redesign/ru/LC_MESSAGES/messages.po",
    "revision": "326fdd89941f92e0a48acf08c518be29ec6650db",
    "web_url": "https://translate.fedoraproject.org/projects/fedora-websites/getfedoraorg/ru/",
    "share_url": "https://translate.fedoraproject.org/engage/fedora-websites/-/ru/",
    "translate_url": "https://translate.fedoraproject.org/translate/fedora-websites/getfedoraorg/ru/",
    "url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 190,
    "total_words": 2214,
    "translated": 185,
    "translated_words": 2034,
    "translated_percent": 97.3,
    "fuzzy": 2,
    "fuzzy_words": 37,
    "fuzzy_percent": 1.0,
    "failing_checks": 3,
    "failing_checks_words": 49,
    "failing_checks_percent": 1.5,
    "have_suggestion": 1,
    "have_comment": 0,
    "last_change": "2023-02-27T20:00:36.663622Z",
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/fedora-websites/getfedoraorg/ru/units/?format=api"
}