Translation components API.

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

GET /api/translations/cnp3-ebook/exercisesreliability/fr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 106,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "population": 26405523410,
        "web_url": "https://weblate.info.ucl.ac.be/languages/fr/",
        "url": "https://weblate.info.ucl.ac.be/api/languages/fr/?format=api",
        "statistics_url": "https://weblate.info.ucl.ac.be/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "exercises/reliability",
        "slug": "exercisesreliability",
        "id": 44,
        "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": 159034349015,
            "web_url": "https://weblate.info.ucl.ac.be/languages/en/",
            "url": "https://weblate.info.ucl.ac.be/api/languages/en/?format=api",
            "statistics_url": "https://weblate.info.ucl.ac.be/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "cnp3-ebook",
            "slug": "cnp3-ebook",
            "id": 2,
            "web": "https://www.computer-networking.info/",
            "web_url": "https://weblate.info.ucl.ac.be/projects/cnp3-ebook/",
            "url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/?format=api",
            "components_list_url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/components/?format=api",
            "repository_url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/repository/?format=api",
            "statistics_url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/statistics/?format=api",
            "changes_list_url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/changes/?format=api",
            "languages_url": "https://weblate.info.ucl.ac.be/api/projects/cnp3-ebook/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/cnp3/ebook",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "locale/*/LC_MESSAGES/exercises/reliability.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "locale/pot/exercises/reliability.pot",
        "file_format": "po",
        "license": "CC-BY-SA-3.0",
        "license_url": "https://spdx.org/licenses/CC-BY-SA-3.0.html",
        "agreement": "",
        "web_url": "https://weblate.info.ucl.ac.be/projects/cnp3-ebook/exercisesreliability/",
        "url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/?format=api",
        "repository_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/repository/?format=api",
        "translations_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/translations/?format=api",
        "statistics_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/statistics/?format=api",
        "lock_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/lock/?format=api",
        "links_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/links/?format=api",
        "changes_list_url": "https://weblate.info.ucl.ac.be/api/components/cnp3-ebook/exercisesreliability/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/cnp3/ebook",
        "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 }}",
        "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": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "fr",
    "id": 146,
    "filename": "locale/fr/LC_MESSAGES/exercises/reliability.po",
    "revision": "58d7013ad139447a4e93f5e98abe031b44f17264",
    "web_url": "https://weblate.info.ucl.ac.be/projects/cnp3-ebook/exercisesreliability/fr/",
    "share_url": "https://weblate.info.ucl.ac.be/engage/cnp3-ebook/fr/",
    "translate_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exercisesreliability/fr/",
    "url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 34,
    "total_words": 623,
    "translated": 28,
    "translated_words": 310,
    "translated_percent": 82.3,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 1,
    "failing_checks_words": 2,
    "failing_checks_percent": 2.9,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-03-04T12:23:08.718633+01:00",
    "last_author": "Philippe D",
    "repository_url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/repository/?format=api",
    "file_url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/file/?format=api",
    "statistics_url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/statistics/?format=api",
    "changes_list_url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/changes/?format=api",
    "units_list_url": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exercisesreliability/fr/units/?format=api"
}