Translation components API.

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

GET /api/translations/onionshare/onionshare-ios-plurals/pt/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 58,
        "code": "pt",
        "name": "Portuguese",
        "plural": {
            "id": 245,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "por_pt",
            "ptg",
            "por"
        ],
        "direction": "ltr",
        "population": 237496883,
        "web_url": "https://hosted.weblate.org/languages/pt/",
        "url": "https://hosted.weblate.org/api/languages/pt/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/pt/statistics/?format=api"
    },
    "component": {
        "name": "OnionShare iOS plurals",
        "slug": "onionshare-ios-plurals",
        "id": 15559,
        "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": "OnionShare",
            "slug": "onionshare",
            "id": 260,
            "web": "https://onionshare.org/",
            "web_url": "https://hosted.weblate.org/projects/onionshare/",
            "url": "https://hosted.weblate.org/api/projects/onionshare/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/onionshare/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/onionshare/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/onionshare/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/onionshare/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/onionshare/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/onionshare/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/onionshare/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": false,
            "instructions": "Mailing list for translators: onionshare-dev@lists.riseup.net",
            "enable_hooks": true,
            "language_aliases": "bn-BD:bn,es-ES:es,es_ES:es,fy-NL:fy,gu-IN:gu,gu_IN:gu,hi-IN:hi,hi_IN:hi,hy-AM:hy,hy_AM:hy,sv-SE:sv,sv_SE:sv,zh-CN:zh-Hans,zh-TW:zh-Hant,en_US:en,en-US:en"
        },
        "vcs": "github",
        "repo": "https://github.com/onionshare/onionshare-ios",
        "git_export": "",
        "branch": "main",
        "push_branch": "",
        "filemask": "Shared/*.lproj/Localizable.stringsdict",
        "screenshot_filemask": "",
        "template": "Shared/en.lproj/Localizable.stringsdict",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "stringsdict",
        "license": "GPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/onionshare/onionshare-ios-plurals/",
        "url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios-plurals/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "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 }})\n\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)\n\nTranslation: {{ project_name }}/{{ component_name }}\nTranslate-URL: {{ url }}",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ addon_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": "https://hosted.weblate.org/api/components/onionshare/onionshare-ios/?format=api"
    },
    "language_code": "pt",
    "id": 1451965,
    "filename": "Shared/pt.lproj/Localizable.stringsdict",
    "revision": "50182226eafb848f249b87eb5b7bf3afde26f963,9f45b870ec790971ea3ea881f95831220546e3d2",
    "web_url": "https://hosted.weblate.org/projects/onionshare/onionshare-ios-plurals/pt/",
    "share_url": "https://hosted.weblate.org/engage/onionshare/-/pt/",
    "translate_url": "https://hosted.weblate.org/translate/onionshare/onionshare-ios-plurals/pt/",
    "url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 4,
    "total_words": 29,
    "translated": 4,
    "translated_words": 29,
    "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": "2024-04-29T16:07:06.923870+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/onionshare/onionshare-ios-plurals/pt/units/?format=api"
}