Translation components API.

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

GET /api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "fr",
        "name": "fr (generated)",
        "plural": {
            "id": 652,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "http://weblate.crnd.pro/languages/fr/",
        "url": "http://weblate.crnd.pro/api/languages/fr/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "generic_request_survey",
        "slug": "generic_request_survey",
        "id": 1234,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 77,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "http://weblate.crnd.pro/languages/en/",
            "url": "http://weblate.crnd.pro/api/languages/en/?format=api",
            "statistics_url": "http://weblate.crnd.pro/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Bureaucrat generics (16.0)",
            "slug": "bureaucrat-generics-16-0",
            "id": 30,
            "web": "https://gitlab.crnd.pro/crnd/bureaucrat-generics",
            "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/",
            "url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/?format=api",
            "components_list_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/components/?format=api",
            "repository_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/repository/?format=api",
            "statistics_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/statistics/?format=api",
            "changes_list_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/changes/?format=api",
            "languages_url": "http://weblate.crnd.pro/api/projects/bureaucrat-generics-16-0/languages/?format=api"
        },
        "vcs": "git",
        "repo": "git@gitlab.crnd.pro:crnd/bureaucrat-generics.git",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "generic_request_survey/i18n/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "po",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/generic_request_survey/",
        "url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/?format=api",
        "repository_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/repository/?format=api",
        "translations_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/translations/?format=api",
        "statistics_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/statistics/?format=api",
        "lock_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/lock/?format=api",
        "changes_list_url": "http://weblate.crnd.pro/api/components/bureaucrat-generics-16-0/generic_request_survey/changes/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@gitlab.crnd.pro:crnd/bureaucrat-generics.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,
        "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": "fr",
    "id": 10899,
    "filename": "generic_request_survey/i18n/fr.po",
    "revision": "8d96cccb6b51fc769cc6bb52231e3d9a8dbb73ae",
    "web_url": "http://weblate.crnd.pro/projects/bureaucrat-generics-16-0/generic_request_survey/fr/",
    "share_url": "http://weblate.crnd.pro/engage/bureaucrat-generics-16-0/fr/",
    "translate_url": "http://weblate.crnd.pro/translate/bureaucrat-generics-16-0/generic_request_survey/fr/",
    "url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 83,
    "total_words": 303,
    "translated": 12,
    "translated_words": 22,
    "translated_percent": 14.4,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 21,
    "failing_checks_words": 35,
    "failing_checks_percent": 25.3,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": null,
    "last_author": null,
    "repository_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/repository/?format=api",
    "file_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/file/?format=api",
    "statistics_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/statistics/?format=api",
    "changes_list_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/changes/?format=api",
    "units_list_url": "http://weblate.crnd.pro/api/translations/bureaucrat-generics-16-0/generic_request_survey/fr/units/?format=api"
}