Translation components API.

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

GET /api/translations/cyberos/website/he_IL/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 705,
        "code": "he_IL",
        "name": "Hebrew (Israel)",
        "plural": {
            "id": 708,
            "source": 0,
            "number": 4,
            "formula": "(n == 1) ? 0 : ((n == 2) ? 1 : ((n > 10 && n % 10 == 0) ? 2 : 3))",
            "type": 6
        },
        "aliases": [],
        "direction": "rtl",
        "population": 8675480,
        "web_url": "https://hosted.weblate.org/languages/he_IL/",
        "url": "https://hosted.weblate.org/api/languages/he_IL/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/he_IL/statistics/?format=api"
    },
    "component": {
        "name": "Website",
        "slug": "website",
        "id": 6087,
        "source_language": {
            "id": 135,
            "code": "en_US",
            "name": "English (United States)",
            "plural": {
                "id": 82,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "us",
                "enu"
            ],
            "direction": "ltr",
            "population": 319333440,
            "web_url": "https://hosted.weblate.org/languages/en_US/",
            "url": "https://hosted.weblate.org/api/languages/en_US/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en_US/statistics/?format=api"
        },
        "project": {
            "name": "CyberOS",
            "slug": "cyberos",
            "id": 964,
            "web": "https://getcyberos.org",
            "web_url": "https://hosted.weblate.org/projects/cyberos/",
            "url": "https://hosted.weblate.org/api/projects/cyberos/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/cyberos/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/cyberos/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/cyberos/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/cyberos/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/cyberos/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/cyberos/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/cyberos/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Please look at https://getcyberos.org/docs/developer/translations.html. (Note: the documentation isn't complete yet.)",
            "enable_hooks": true,
            "language_aliases": "zh_Hans:zh_CN,zh_Hant:zh_TW,zh_Hant_HK:zh_HK,yue:yue_HK"
        },
        "vcs": "git",
        "repo": "https://git.omame.xyz/CyberOS/cyberos.github.io.git",
        "git_export": "https://hosted.weblate.org/git/cyberos/website/",
        "branch": "master",
        "push_branch": "",
        "filemask": "src/translations/*.json",
        "screenshot_filemask": "",
        "template": "src/translations/en-US.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json-nested",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/cyberos/website/",
        "url": "https://hosted.weblate.org/api/components/cyberos/website/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/cyberos/website/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/cyberos/website/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/cyberos/website/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/cyberos/website/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/cyberos/website/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/cyberos/website/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "bcp",
        "push": "gitea@git.omame.xyz:CyberOS/cyberos.github.io.git",
        "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": 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": [
            "https://hosted.weblate.org/api/addons/1675/?format=api",
            "https://hosted.weblate.org/api/addons/1676/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "he-IL",
    "id": 101208,
    "filename": "src/translations/he-IL.json",
    "revision": "a408eb5d98f50ce12df54e8fbfe6b565e76f9930,6b8193147d08b458fc0ae81665e296f9e8d0f639",
    "web_url": "https://hosted.weblate.org/projects/cyberos/website/he_IL/",
    "share_url": "https://hosted.weblate.org/engage/cyberos/-/he_IL/",
    "translate_url": "https://hosted.weblate.org/translate/cyberos/website/he_IL/",
    "url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 24,
    "total_words": 93,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.0,
    "fuzzy": 24,
    "fuzzy_words": 93,
    "fuzzy_percent": 100.0,
    "failing_checks": 24,
    "failing_checks_words": 93,
    "failing_checks_percent": 100.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-07-11T10:33:11.733536+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/cyberos/website/he_IL/units/?format=api"
}