Translation components API.

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

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

{
    "language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 190,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.duniter.org/languages/fr/",
        "url": "https://weblate.duniter.org/api/languages/fr/?format=api",
        "statistics_url": "https://weblate.duniter.org/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "formalisaton",
        "slug": "formalisaton",
        "id": 21,
        "source_language": {
            "code": "fr",
            "name": "French",
            "plural": {
                "id": 190,
                "source": 0,
                "number": 2,
                "formula": "n > 1",
                "type": 1
            },
            "aliases": [
                "fra",
                "fre"
            ],
            "direction": "ltr",
            "web_url": "https://weblate.duniter.org/languages/fr/",
            "url": "https://weblate.duniter.org/api/languages/fr/?format=api",
            "statistics_url": "https://weblate.duniter.org/api/languages/fr/statistics/?format=api"
        },
        "project": {
            "name": "TRM",
            "slug": "trm",
            "id": 3,
            "web": "https://gitlab.com/libre-money-projects/theorie-relative-de-la-monnaie",
            "web_url": "https://weblate.duniter.org/projects/trm/",
            "url": "https://weblate.duniter.org/api/projects/trm/?format=api",
            "components_list_url": "https://weblate.duniter.org/api/projects/trm/components/?format=api",
            "repository_url": "https://weblate.duniter.org/api/projects/trm/repository/?format=api",
            "statistics_url": "https://weblate.duniter.org/api/projects/trm/statistics/?format=api",
            "changes_list_url": "https://weblate.duniter.org/api/projects/trm/changes/?format=api",
            "languages_url": "https://weblate.duniter.org/api/projects/trm/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "gitlab",
        "repo": "git@git.duniter.org:documents/theorie-relative-de-la-monnaie.git",
        "git_export": "",
        "branch": "master",
        "push_branch": "weblate",
        "filemask": "source/locale/*/LC_MESSAGES/formalisaton.po",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "po",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "https://weblate.duniter.org/projects/trm/formalisaton/",
        "url": "https://weblate.duniter.org/api/components/trm/formalisaton/?format=api",
        "repository_url": "https://weblate.duniter.org/api/components/trm/formalisaton/repository/?format=api",
        "translations_url": "https://weblate.duniter.org/api/components/trm/formalisaton/translations/?format=api",
        "statistics_url": "https://weblate.duniter.org/api/components/trm/formalisaton/statistics/?format=api",
        "lock_url": "https://weblate.duniter.org/api/components/trm/formalisaton/lock/?format=api",
        "links_url": "https://weblate.duniter.org/api/components/trm/formalisaton/links/?format=api",
        "changes_list_url": "https://weblate.duniter.org/api/components/trm/formalisaton/changes/?format=api",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "git@git.duniter.org:documents/theorie-relative-de-la-monnaie.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 }}",
        "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"
    },
    "language_code": "fr",
    "id": 136,
    "filename": "",
    "revision": "",
    "web_url": "https://weblate.duniter.org/projects/trm/formalisaton/fr/",
    "share_url": "https://weblate.duniter.org/engage/trm/fr/",
    "translate_url": "https://weblate.duniter.org/translate/trm/formalisaton/fr/",
    "url": "https://weblate.duniter.org/api/translations/trm/formalisaton/fr/?format=api",
    "is_template": true,
    "is_source": true,
    "total": 52,
    "total_words": 1495,
    "translated": 52,
    "translated_words": 1495,
    "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://weblate.duniter.org/api/translations/trm/formalisaton/fr/repository/?format=api",
    "file_url": "https://weblate.duniter.org/api/translations/trm/formalisaton/fr/file/?format=api",
    "statistics_url": "https://weblate.duniter.org/api/translations/trm/formalisaton/fr/statistics/?format=api",
    "changes_list_url": "https://weblate.duniter.org/api/translations/trm/formalisaton/fr/changes/?format=api",
    "units_list_url": "https://weblate.duniter.org/api/translations/trm/formalisaton/fr/units/?format=api"
}