Translation components API.

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

GET /api/translations/officelife/auth/nb_NO/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 449,
        "code": "nb_NO",
        "name": "Norwegian Bokmål",
        "plural": {
            "id": 447,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "norwegian",
            "no_nb",
            "nb_nb",
            "no_no",
            "no",
            "nb",
            "nob",
            "nor"
        ],
        "direction": "ltr",
        "population": 5467440,
        "web_url": "https://hosted.weblate.org/languages/nb_NO/",
        "url": "https://hosted.weblate.org/api/languages/nb_NO/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/nb_NO/statistics/?format=api"
    },
    "component": {
        "name": "auth",
        "slug": "auth",
        "id": 8261,
        "source_language": {
            "id": 31,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 75,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://hosted.weblate.org/languages/en/",
            "url": "https://hosted.weblate.org/api/languages/en/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "OfficeLife",
            "slug": "officelife",
            "id": 1248,
            "web": "https://github.com/officelifehq/officelife",
            "web_url": "https://hosted.weblate.org/projects/officelife/",
            "url": "https://hosted.weblate.org/api/projects/officelife/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/officelife/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/officelife/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/officelife/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/officelife/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/officelife/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/officelife/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/officelife/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "Thank you for your contribution.\r\nPlease add new translations as \"to be verified\".\r\n\r\nOfficeLife manages everything employees do in a company.",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/officelifehq/officelife/",
        "git_export": "",
        "branch": "main",
        "push_branch": "",
        "filemask": "resources/lang/*/auth.php",
        "screenshot_filemask": "",
        "template": "resources/lang/en/auth.php",
        "edit_template": true,
        "intermediate": "",
        "new_base": "resources/lang/en/auth.php",
        "file_format": "laravel",
        "license": "BSD-3-Clause",
        "license_url": "https://spdx.org/licenses/BSD-3-Clause.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/officelife/auth/",
        "url": "https://hosted.weblate.org/api/components/officelife/auth/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/officelife/auth/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/officelife/auth/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/officelife/auth/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/officelife/auth/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/officelife/auth/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/officelife/auth/changes/?format=api",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "",
        "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 }}",
        "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": 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": [
            "https://hosted.weblate.org/api/addons/2194/?format=api",
            "https://hosted.weblate.org/api/addons/2190/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://hosted.weblate.org/api/components/officelife/account/?format=api"
    },
    "language_code": "nb_NO",
    "id": 111460,
    "filename": "resources/lang/nb_NO/auth.php",
    "revision": "5da76700df73c385fda682d1d76008ee394b3fe5,d523fe8e52e149f386267904fd968140fd064468",
    "web_url": "https://hosted.weblate.org/projects/officelife/auth/nb_NO/",
    "share_url": "https://hosted.weblate.org/engage/officelife/-/nb_NO/",
    "translate_url": "https://hosted.weblate.org/translate/officelife/auth/nb_NO/",
    "url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 51,
    "total_words": 304,
    "translated": 3,
    "translated_words": 15,
    "translated_percent": 5.8,
    "fuzzy": 38,
    "fuzzy_words": 270,
    "fuzzy_percent": 74.5,
    "failing_checks": 39,
    "failing_checks_words": 280,
    "failing_checks_percent": 76.4,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2021-07-13T06:42:03.831332+02:00",
    "last_author": "Allan Nordhøy",
    "repository_url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/officelife/auth/nb_NO/units/?format=api"
}