Translation components API.

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

GET /api/translations/webtrees/webtrees-20/en_US/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "en_US",
        "name": "English (United States)",
        "plural": {
            "id": 159,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "us",
            "enu"
        ],
        "direction": "ltr",
        "population": 31933344000,
        "web_url": "https://translate.webtrees.net/languages/en_US/",
        "url": "https://translate.webtrees.net/api/languages/en_US/?format=api",
        "statistics_url": "https://translate.webtrees.net/api/languages/en_US/statistics/?format=api"
    },
    "component": {
        "name": "webtrees-2.0",
        "slug": "webtrees-20",
        "id": 1,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 147,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 163648503560,
            "web_url": "https://translate.webtrees.net/languages/en/",
            "url": "https://translate.webtrees.net/api/languages/en/?format=api",
            "statistics_url": "https://translate.webtrees.net/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "webtrees",
            "slug": "webtrees",
            "id": 1,
            "web": "https://webtrees.net",
            "web_url": "https://translate.webtrees.net/projects/webtrees/",
            "url": "https://translate.webtrees.net/api/projects/webtrees/?format=api",
            "components_list_url": "https://translate.webtrees.net/api/projects/webtrees/components/?format=api",
            "repository_url": "https://translate.webtrees.net/api/projects/webtrees/repository/?format=api",
            "statistics_url": "https://translate.webtrees.net/api/projects/webtrees/statistics/?format=api",
            "changes_list_url": "https://translate.webtrees.net/api/projects/webtrees/changes/?format=api",
            "languages_url": "https://translate.webtrees.net/api/projects/webtrees/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": false,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/fisharebest/webtrees",
        "git_export": "https://translate.webtrees.net/git/webtrees/webtrees-20/",
        "branch": "2.0",
        "push_branch": "",
        "filemask": "resources/lang/*/messages.po",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "resources/lang/webtrees.pot",
        "file_format": "po",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://translate.webtrees.net/projects/webtrees/webtrees-20/",
        "url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/?format=api",
        "repository_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/repository/?format=api",
        "translations_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/translations/?format=api",
        "statistics_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/statistics/?format=api",
        "lock_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/lock/?format=api",
        "links_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/links/?format=api",
        "changes_list_url": "https://translate.webtrees.net/api/components/webtrees/webtrees-20/changes/?format=api",
        "task_url": null,
        "new_lang": "none",
        "language_code_style": "",
        "push": "https://github.com/fisharebest/webtrees.git",
        "check_flags": "",
        "priority": 120,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/fisharebest/webtrees/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "rebase",
        "commit_message": "{{ language_name }} translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
        "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 }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": false,
        "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": "en-US",
    "id": 18,
    "filename": "resources/lang/en-US/messages.po",
    "revision": "4512cc5a0a934f07e5f24a4eaa1eb0d2e85bfe5f",
    "web_url": "https://translate.webtrees.net/projects/webtrees/webtrees-20/en_US/",
    "share_url": "https://translate.webtrees.net/engage/webtrees/en_US/",
    "translate_url": "https://translate.webtrees.net/translate/webtrees/webtrees-20/en_US/",
    "url": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 3743,
    "total_words": 16373,
    "translated": 2,
    "translated_words": 4,
    "translated_percent": 0.1,
    "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://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/repository/?format=api",
    "file_url": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/file/?format=api",
    "statistics_url": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/statistics/?format=api",
    "changes_list_url": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/changes/?format=api",
    "units_list_url": "https://translate.webtrees.net/api/translations/webtrees/webtrees-20/en_US/units/?format=api"
}