Translation components API.

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

GET /api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "hr",
        "name": "Croatian",
        "plural": {
            "id": 145,
            "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": [
            "scr",
            "hrv"
        ],
        "direction": "ltr",
        "web_url": "https://translate.lxqt-project.org/languages/hr/",
        "url": "https://translate.lxqt-project.org/api/languages/hr/?format=api",
        "statistics_url": "https://translate.lxqt-project.org/api/languages/hr/statistics/?format=api"
    },
    "component": {
        "name": "plugin-cpuload (Name & Description)",
        "slug": "plugin-cpuload-name-and-description",
        "id": 181,
        "project": {
            "name": "LXQt Panel",
            "slug": "lxqt-panel",
            "id": 4,
            "web": "https://github.com/lxqt/lxqt-panel",
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 82,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "english",
                    "en_en",
                    "base",
                    "source",
                    "eng"
                ],
                "direction": "ltr",
                "web_url": "https://translate.lxqt-project.org/languages/en/",
                "url": "https://translate.lxqt-project.org/api/languages/en/?format=api",
                "statistics_url": "https://translate.lxqt-project.org/api/languages/en/statistics/?format=api"
            },
            "web_url": "https://translate.lxqt-project.org/projects/lxqt-panel/",
            "url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/?format=api",
            "components_list_url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/components/?format=api",
            "repository_url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/repository/?format=api",
            "statistics_url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/statistics/?format=api",
            "changes_list_url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/changes/?format=api",
            "languages_url": "https://translate.lxqt-project.org/api/projects/lxqt-panel/languages/?format=api"
        },
        "vcs": "github",
        "repo": "https://github.com/lxqt/lxqt-panel",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "plugin-cpuload/translations/cpuload_*.desktop.yaml",
        "template": "plugin-cpuload/translations/cpuload.desktop.yaml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "plugin-cpuload/translations/cpuload.desktop.yaml",
        "file_format": "yaml",
        "license": "GPL-2.0-or-later",
        "license_url": "https://www.gnu.org/licenses/old-licenses/gpl-2.0-standalone.html",
        "agreement": "",
        "web_url": "https://translate.lxqt-project.org/projects/lxqt-panel/plugin-cpuload-name-and-description/",
        "url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/?format=api",
        "repository_url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/repository/?format=api",
        "translations_url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/translations/?format=api",
        "statistics_url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/statistics/?format=api",
        "lock_url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/lock/?format=api",
        "changes_list_url": "https://translate.lxqt-project.org/api/components/lxqt-panel/plugin-cpuload-name-and-description/changes/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": "[]",
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "Translated using Weblate ({{ language_name }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "allow_translation_propagation": 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": ""
    },
    "language_code": "hr",
    "id": 6104,
    "filename": "plugin-cpuload/translations/cpuload_hr.desktop.yaml",
    "revision": "d026695e9e89d3971abefe1517573f8fdc6fc64c,368d3b1887baee42538a31bfd8ee301fa53baaa5",
    "web_url": "https://translate.lxqt-project.org/projects/lxqt-panel/plugin-cpuload-name-and-description/hr/",
    "share_url": "https://translate.lxqt-project.org/engage/lxqt-panel/hr/",
    "translate_url": "https://translate.lxqt-project.org/translate/lxqt-panel/plugin-cpuload-name-and-description/hr/",
    "url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 2,
    "total_words": 7,
    "translated": 2,
    "translated_words": 7,
    "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": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/repository/?format=api",
    "file_url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/file/?format=api",
    "statistics_url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/statistics/?format=api",
    "changes_list_url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/changes/?format=api",
    "units_list_url": "https://translate.lxqt-project.org/api/translations/lxqt-panel/plugin-cpuload-name-and-description/hr/units/?format=api"
}