Translation components API.

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

GET /api/translations/imsettings/master/bs/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "bs",
        "name": "Bosnian",
        "plural": {
            "id": 45,
            "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": [
            "bos"
        ],
        "direction": "ltr",
        "population": 379723410,
        "web_url": "https://translate.fedoraproject.org/languages/bs/",
        "url": "https://translate.fedoraproject.org/api/languages/bs/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/languages/bs/statistics/?format=api"
    },
    "component": {
        "name": "main",
        "slug": "master",
        "id": 3187,
        "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": 163648503560,
            "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": "imsettings",
            "slug": "imsettings",
            "id": 106,
            "web": "https://gitlab.com/tagoh/imsettings",
            "web_url": "https://translate.fedoraproject.org/projects/imsettings/",
            "url": "https://translate.fedoraproject.org/api/projects/imsettings/?format=api",
            "components_list_url": "https://translate.fedoraproject.org/api/projects/imsettings/components/?format=api",
            "repository_url": "https://translate.fedoraproject.org/api/projects/imsettings/repository/?format=api",
            "statistics_url": "https://translate.fedoraproject.org/api/projects/imsettings/statistics/?format=api",
            "changes_list_url": "https://translate.fedoraproject.org/api/projects/imsettings/changes/?format=api",
            "languages_url": "https://translate.fedoraproject.org/api/projects/imsettings/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Mailing list for translators: <trans@lists.fedoraproject.org",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "https://gitlab.com/tagoh/imsettings",
        "git_export": "https://translate.fedoraproject.org/git/imsettings/master/",
        "branch": "main",
        "push_branch": "",
        "filemask": "po/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/imsettings.pot",
        "file_format": "po",
        "license": "LGPL-2.1-or-later",
        "license_url": "https://spdx.org/licenses/LGPL-2.1-or-later.html",
        "agreement": "",
        "web_url": "https://translate.fedoraproject.org/projects/imsettings/master/",
        "url": "https://translate.fedoraproject.org/api/components/imsettings/master/?format=api",
        "repository_url": "https://translate.fedoraproject.org/api/components/imsettings/master/repository/?format=api",
        "translations_url": "https://translate.fedoraproject.org/api/components/imsettings/master/translations/?format=api",
        "statistics_url": "https://translate.fedoraproject.org/api/components/imsettings/master/statistics/?format=api",
        "lock_url": "https://translate.fedoraproject.org/api/components/imsettings/master/lock/?format=api",
        "links_url": "https://translate.fedoraproject.org/api/components/imsettings/master/links/?format=api",
        "changes_list_url": "https://translate.fedoraproject.org/api/components/imsettings/master/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://gitlab.com/tagoh/imsettings",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "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 }}\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": [
            "https://translate.fedoraproject.org/api/addons/9446/?format=api",
            "https://translate.fedoraproject.org/api/addons/9445/?format=api",
            "https://translate.fedoraproject.org/api/addons/9444/?format=api",
            "https://translate.fedoraproject.org/api/addons/9443/?format=api",
            "https://translate.fedoraproject.org/api/addons/9442/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "bs",
    "id": 27869,
    "filename": "po/bs.po",
    "revision": "87067b6c5c40fe568b9af8d5e99f9335c11a79f0",
    "web_url": "https://translate.fedoraproject.org/projects/imsettings/master/bs/",
    "share_url": "https://translate.fedoraproject.org/engage/imsettings/bs/",
    "translate_url": "https://translate.fedoraproject.org/translate/imsettings/master/bs/",
    "url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 89,
    "total_words": 488,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 4,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/repository/?format=api",
    "file_url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/file/?format=api",
    "statistics_url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/statistics/?format=api",
    "changes_list_url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/changes/?format=api",
    "units_list_url": "https://translate.fedoraproject.org/api/translations/imsettings/master/bs/units/?format=api"
}