Translation components API.

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

GET /api/translations/wadb/application/id/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "id",
        "name": "Indonesian",
        "plural": {
            "id": 149,
            "source": 0,
            "number": 1,
            "formula": "0",
            "type": 0
        },
        "aliases": [
            "in",
            "in_id",
            "ind"
        ],
        "direction": "ltr",
        "population": 16849240160,
        "web_url": "https://weblate.rikka.app/languages/id/",
        "url": "https://weblate.rikka.app/api/languages/id/",
        "statistics_url": "https://weblate.rikka.app/api/languages/id/statistics/"
    },
    "component": {
        "name": "Application",
        "slug": "application",
        "id": 20,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 80,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 159034349015,
            "web_url": "https://weblate.rikka.app/languages/en/",
            "url": "https://weblate.rikka.app/api/languages/en/",
            "statistics_url": "https://weblate.rikka.app/api/languages/en/statistics/"
        },
        "project": {
            "name": "WADB",
            "slug": "wadb",
            "id": 7,
            "web": "https://github.com/RikkaApps/WADB",
            "web_url": "https://weblate.rikka.app/projects/wadb/",
            "url": "https://weblate.rikka.app/api/projects/wadb/",
            "components_list_url": "https://weblate.rikka.app/api/projects/wadb/components/",
            "repository_url": "https://weblate.rikka.app/api/projects/wadb/repository/",
            "statistics_url": "https://weblate.rikka.app/api/projects/wadb/statistics/",
            "changes_list_url": "https://weblate.rikka.app/api/projects/wadb/changes/",
            "languages_url": "https://weblate.rikka.app/api/projects/wadb/languages/",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "[email protected]:RikkaApps/WADB.git",
        "git_export": "https://weblate.rikka.app/git/wadb/application/",
        "branch": "master",
        "push_branch": "master",
        "filemask": "app/src/main/res/values-*/strings.xml",
        "template": "app/src/main/res/values/strings.xml",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "Apache-2.0",
        "license_url": "https://spdx.org/licenses/Apache-2.0.html",
        "agreement": "",
        "web_url": "https://weblate.rikka.app/projects/wadb/application/",
        "url": "https://weblate.rikka.app/api/components/wadb/application/",
        "repository_url": "https://weblate.rikka.app/api/components/wadb/application/repository/",
        "translations_url": "https://weblate.rikka.app/api/components/wadb/application/translations/",
        "statistics_url": "https://weblate.rikka.app/api/components/wadb/application/statistics/",
        "lock_url": "https://weblate.rikka.app/api/components/wadb/application/lock/",
        "links_url": "https://weblate.rikka.app/api/components/wadb/application/links/",
        "changes_list_url": "https://weblate.rikka.app/api/components/wadb/application/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "[email protected]:RikkaApps/WADB.git",
        "check_flags": "java-format",
        "priority": 100,
        "enforced_checks": [
            "java_format",
            "java_printf_format",
            "escaped_newline",
            "end_ellipsis",
            "ellipsis",
            "zero-width-space"
        ],
        "restricted": false,
        "repoweb": "https://github.com/RikkaApps/WADB/blob/{{branch}}/{{filename|parentdir}}#L{{line}}",
        "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 }}\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": 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://weblate.rikka.app/api/addons/22/",
            "https://weblate.rikka.app/api/addons/19/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "id",
    "id": 330,
    "filename": "app/src/main/res/values-id/strings.xml",
    "revision": "82f42dfe123b0c3f1e522ae2f11ce514feec0e94,fe82c88b2f553fc4f4c6bef45a5bc1530134f139",
    "web_url": "https://weblate.rikka.app/projects/wadb/application/id/",
    "share_url": "https://weblate.rikka.app/engage/wadb/id/",
    "translate_url": "https://weblate.rikka.app/translate/wadb/application/id/",
    "url": "https://weblate.rikka.app/api/translations/wadb/application/id/",
    "is_template": false,
    "is_source": false,
    "total": 37,
    "total_words": 173,
    "translated": 31,
    "translated_words": 143,
    "translated_percent": 83.7,
    "fuzzy": 2,
    "fuzzy_words": 23,
    "fuzzy_percent": 5.4,
    "failing_checks": 2,
    "failing_checks_words": 23,
    "failing_checks_percent": 5.4,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2022-04-07T13:52:32.694001Z",
    "last_author": null,
    "repository_url": "https://weblate.rikka.app/api/translations/wadb/application/id/repository/",
    "file_url": "https://weblate.rikka.app/api/translations/wadb/application/id/file/",
    "statistics_url": "https://weblate.rikka.app/api/translations/wadb/application/id/statistics/",
    "changes_list_url": "https://weblate.rikka.app/api/translations/wadb/application/id/changes/",
    "units_list_url": "https://weblate.rikka.app/api/translations/wadb/application/id/units/"
}