Translation components API.

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

GET /api/translations/simple-calendar/main/pt-BR/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 448,
        "code": "pt-BR",
        "name": "Portuguese (Brazil)",
        "plural": {
            "id": 448,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [],
        "direction": "ltr",
        "population": 19005077000,
        "web_url": "https://weblate.foundryvtt-hub.com/languages/pt-BR/",
        "url": "https://weblate.foundryvtt-hub.com/api/languages/pt-BR/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/languages/pt-BR/statistics/?format=api"
    },
    "component": {
        "name": "main",
        "slug": "main",
        "id": 11,
        "source_language": {
            "id": 147,
            "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": 1636485517,
            "web_url": "https://weblate.foundryvtt-hub.com/languages/en/",
            "url": "https://weblate.foundryvtt-hub.com/api/languages/en/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Simple Calendar",
            "slug": "simple-calendar",
            "id": 6,
            "web": "https://github.com/vigoren/foundryvtt-simple-calendar/",
            "web_url": "https://weblate.foundryvtt-hub.com/projects/simple-calendar/",
            "url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/?format=api",
            "components_list_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/components/?format=api",
            "repository_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/repository/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/statistics/?format=api",
            "categories_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/categories/?format=api",
            "changes_list_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/changes/?format=api",
            "languages_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/languages/?format=api",
            "labels_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/labels/?format=api",
            "credits_url": "https://weblate.foundryvtt-hub.com/api/projects/simple-calendar/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "github",
        "repo": "https://github.com/vigoren/foundryvtt-simple-calendar.git",
        "git_export": "https://weblate.foundryvtt-hub.com/git/simple-calendar/main/",
        "branch": "main",
        "push_branch": "",
        "filemask": "src/lang/*.json",
        "screenshot_filemask": "",
        "template": "src/lang/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json",
        "license": "MIT",
        "license_url": "https://spdx.org/licenses/MIT.html",
        "agreement": "",
        "web_url": "https://weblate.foundryvtt-hub.com/projects/simple-calendar/main/",
        "url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/?format=api",
        "repository_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/repository/?format=api",
        "translations_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/translations/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/statistics/?format=api",
        "lock_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/lock/?format=api",
        "links_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/links/?format=api",
        "changes_list_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/changes/?format=api",
        "task_url": null,
        "credits_url": "https://weblate.foundryvtt-hub.com/api/components/simple-calendar/main/credits/?format=api",
        "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": [
            "https://weblate.foundryvtt-hub.com/api/addons/11/?format=api",
            "https://weblate.foundryvtt-hub.com/api/addons/12/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "pt-BR",
    "id": 60,
    "filename": "src/lang/pt-BR.json",
    "revision": "cf07e36dd8df142b303161b76842e90214c49cec,04fa8d8fe1bf9107d06b0dc6a462a485aa1fc22e",
    "web_url": "https://weblate.foundryvtt-hub.com/projects/simple-calendar/main/pt-BR/",
    "share_url": "https://weblate.foundryvtt-hub.com/engage/simple-calendar/-/pt-BR/",
    "translate_url": "https://weblate.foundryvtt-hub.com/translate/simple-calendar/main/pt-BR/",
    "url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 504,
    "total_words": 3127,
    "translated": 504,
    "translated_words": 3127,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 8,
    "failing_checks_words": 47,
    "failing_checks_percent": 1.5,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-05-25T05:49:57.982641Z",
    "last_author": null,
    "repository_url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/repository/?format=api",
    "file_url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/file/?format=api",
    "statistics_url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/statistics/?format=api",
    "changes_list_url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/changes/?format=api",
    "units_list_url": "https://weblate.foundryvtt-hub.com/api/translations/simple-calendar/main/pt-BR/units/?format=api"
}