Translation components API.

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

GET /api/translations/chamilo/messages/tl/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 652,
        "code": "tl",
        "name": "Tagalog",
        "plural": {
            "id": 652,
            "source": 0,
            "number": 2,
            "formula": "n != 1 && n != 2 && n != 3 && (n % 10 == 4 || n % 10 == 6 || n % 10 == 9)",
            "type": 1
        },
        "aliases": [
            "tgl"
        ],
        "direction": "ltr",
        "population": 0,
        "web_url": "https://translation.chamilo.org/languages/tl/",
        "url": "https://translation.chamilo.org/api/languages/tl/?format=api",
        "statistics_url": "https://translation.chamilo.org/api/languages/tl/statistics/?format=api"
    },
    "component": {
        "name": "Messages",
        "slug": "messages",
        "id": 1,
        "source_language": {
            "id": 169,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 169,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://translation.chamilo.org/languages/en/",
            "url": "https://translation.chamilo.org/api/languages/en/?format=api",
            "statistics_url": "https://translation.chamilo.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Chamilo",
            "slug": "chamilo",
            "id": 1,
            "web": "https://docs.chamilo.org",
            "web_url": "https://translation.chamilo.org/projects/chamilo/",
            "url": "https://translation.chamilo.org/api/projects/chamilo/?format=api",
            "components_list_url": "https://translation.chamilo.org/api/projects/chamilo/components/?format=api",
            "repository_url": "https://translation.chamilo.org/api/projects/chamilo/repository/?format=api",
            "statistics_url": "https://translation.chamilo.org/api/projects/chamilo/statistics/?format=api",
            "categories_url": "https://translation.chamilo.org/api/projects/chamilo/categories/?format=api",
            "changes_list_url": "https://translation.chamilo.org/api/projects/chamilo/changes/?format=api",
            "languages_url": "https://translation.chamilo.org/api/projects/chamilo/languages/?format=api",
            "labels_url": "https://translation.chamilo.org/api/projects/chamilo/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "This project is about easy e-learning, so think in terms of teaching (for teachers features) and learning (for final users).\r\nChamilo is used in many sectors, including academical. This means the vocabulary has to be as neutral as possible. We prefer talking about \"learners\" rather than \"students\", and \"trainers\" rather than \"teachers\". These terms can later be updated locally by the admins through the jargon/sublanguage feature inside Chamilo.",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/chamilo/chamilo-lms",
        "git_export": "https://translation.chamilo.org/git/chamilo/messages/",
        "branch": "master",
        "push_branch": "translations",
        "filemask": "translations/messages.*.po",
        "screenshot_filemask": "",
        "template": "translations/messages.en.po",
        "edit_template": true,
        "intermediate": "translations/messages.pot",
        "new_base": "translations/messages.pot",
        "file_format": "po-mono",
        "license": "CC0-1.0",
        "license_url": "https://spdx.org/licenses/CC0-1.0.html",
        "agreement": "",
        "web_url": "https://translation.chamilo.org/projects/chamilo/messages/",
        "url": "https://translation.chamilo.org/api/components/chamilo/messages/?format=api",
        "repository_url": "https://translation.chamilo.org/api/components/chamilo/messages/repository/?format=api",
        "translations_url": "https://translation.chamilo.org/api/components/chamilo/messages/translations/?format=api",
        "statistics_url": "https://translation.chamilo.org/api/components/chamilo/messages/statistics/?format=api",
        "lock_url": "https://translation.chamilo.org/api/components/chamilo/messages/lock/?format=api",
        "links_url": "https://translation.chamilo.org/api/components/chamilo/messages/links/?format=api",
        "changes_list_url": "https://translation.chamilo.org/api/components/chamilo/messages/changes/?format=api",
        "task_url": null,
        "new_lang": "contact",
        "language_code_style": "",
        "push": "git@github.com:ywarnier/chamilo-lms",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/chamilo/chamilo-lms/tree/{{branch}}/translations",
        "report_source_bugs": "",
        "merge_style": "merge_noff",
        "commit_message": "Language: Update language terms\r\nTranslate-URL: {{ url }}",
        "add_message": "Language: Add translation ({{ language_name }})",
        "delete_message": "Language: Delete translation ({{ language_name }})",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into translations branch",
        "addon_message": "Language: Update translation files",
        "pull_message": "Language: Update language terms\r\nCurrent translation status:\r\n![Weblate translation status]({{widget_url}})",
        "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": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "tl",
    "id": 75,
    "filename": "translations/messages.tl.po",
    "revision": "0aec99bca64a5beff2eb69cb1067011a3372295e,cd2c4b0315c48e4ad969bad176d8d217a331ab11,317f66f5fd18dc079ac5136e60e1261a8bce8d66",
    "web_url": "https://translation.chamilo.org/projects/chamilo/messages/tl/",
    "share_url": "https://translation.chamilo.org/engage/chamilo/-/tl/",
    "translate_url": "https://translation.chamilo.org/translate/chamilo/messages/tl/",
    "url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 9434,
    "total_words": 68192,
    "translated": 1453,
    "translated_words": 9225,
    "translated_percent": 15.4,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 53,
    "failing_checks_words": 535,
    "failing_checks_percent": 0.5,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2025-04-23T00:49:15.919781Z",
    "last_author": "Yannick Warnier",
    "repository_url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/repository/?format=api",
    "file_url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/file/?format=api",
    "statistics_url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/statistics/?format=api",
    "changes_list_url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/changes/?format=api",
    "units_list_url": "https://translation.chamilo.org/api/translations/chamilo/messages/tl/units/?format=api"
}