Translation components API.

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

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

{
    "language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 92,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.elementary.io/languages/fr/",
        "url": "https://l10n.elementary.io/api/languages/fr/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "403",
        "slug": "403",
        "id": 3,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 75,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.elementary.io/languages/en/",
            "url": "https://l10n.elementary.io/api/languages/en/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Website",
            "slug": "website",
            "id": 1,
            "web": "https://github.com/elementary/website",
            "web_url": "https://l10n.elementary.io/projects/website/",
            "url": "https://l10n.elementary.io/api/projects/website/?format=api",
            "components_list_url": "https://l10n.elementary.io/api/projects/website/components/?format=api",
            "repository_url": "https://l10n.elementary.io/api/projects/website/repository/?format=api",
            "statistics_url": "https://l10n.elementary.io/api/projects/website/statistics/?format=api",
            "changes_list_url": "https://l10n.elementary.io/api/projects/website/changes/?format=api",
            "languages_url": "https://l10n.elementary.io/api/projects/website/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://elementary.io/docs/translation-guide",
            "mail": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:elementary/website.git",
        "git_export": "",
        "branch": "",
        "push_branch": "",
        "filemask": "_lang/*/403.json",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json",
        "license": "MIT",
        "license_url": "https://opensource.org/licenses/MIT",
        "agreement": "",
        "web_url": "https://l10n.elementary.io/projects/website/403/",
        "url": "https://l10n.elementary.io/api/components/website/403/?format=api",
        "repository_url": "https://l10n.elementary.io/api/components/website/403/repository/?format=api",
        "translations_url": "https://l10n.elementary.io/api/components/website/403/translations/?format=api",
        "statistics_url": "https://l10n.elementary.io/api/components/website/403/statistics/?format=api",
        "lock_url": "https://l10n.elementary.io/api/components/website/403/lock/?format=api",
        "changes_list_url": "https://l10n.elementary.io/api/components/website/403/changes/?format=api",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "[email protected]:elementary/website.git",
        "check_flags": "",
        "priority": 140,
        "enforced_checks": "[]",
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "",
        "merge_style": "merge",
        "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 \"{{ hook_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": "",
        "addons": []
    },
    "language_code": "fr",
    "id": 17292,
    "filename": "_lang/fr/403.json",
    "revision": "c8efbe5e9122649553eeab8c21e06d3cdc2ccdc7",
    "web_url": "https://l10n.elementary.io/projects/website/403/fr/",
    "share_url": "https://l10n.elementary.io/engage/website/fr/",
    "translate_url": "https://l10n.elementary.io/translate/website/403/fr/",
    "url": "https://l10n.elementary.io/api/translations/website/403/fr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 4,
    "total_words": 21,
    "translated": 4,
    "translated_words": 21,
    "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": "2019-01-11T20:35:17.576550Z",
    "last_author": "Nathan",
    "repository_url": "https://l10n.elementary.io/api/translations/website/403/fr/repository/?format=api",
    "file_url": "https://l10n.elementary.io/api/translations/website/403/fr/file/?format=api",
    "statistics_url": "https://l10n.elementary.io/api/translations/website/403/fr/statistics/?format=api",
    "changes_list_url": "https://l10n.elementary.io/api/translations/website/403/fr/changes/?format=api",
    "units_list_url": "https://l10n.elementary.io/api/translations/website/403/fr/units/?format=api"
}