Translation components API.

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

GET /api/translations/wild-magic-surge-5e/main/fr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 197,
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 197,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra_fr",
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "population": 278611506,
        "web_url": "https://weblate.foundryvtt-hub.com/languages/fr/",
        "url": "https://weblate.foundryvtt-hub.com/api/languages/fr/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "main",
        "slug": "main",
        "id": 42,
        "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": "Wild Magic Surge 5e",
            "slug": "wild-magic-surge-5e",
            "id": 20,
            "web": "https://github.com/johnnolan/wild-magic-surge-5e",
            "web_url": "https://weblate.foundryvtt-hub.com/projects/wild-magic-surge-5e/",
            "url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/?format=api",
            "components_list_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/components/?format=api",
            "repository_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/repository/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/statistics/?format=api",
            "categories_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/categories/?format=api",
            "changes_list_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/changes/?format=api",
            "languages_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/languages/?format=api",
            "labels_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/labels/?format=api",
            "credits_url": "https://weblate.foundryvtt-hub.com/api/projects/wild-magic-surge-5e/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/johnnolan/wild-magic-surge-5e.git",
        "git_export": "https://weblate.foundryvtt-hub.com/git/wild-magic-surge-5e/main/",
        "branch": "main",
        "push_branch": "",
        "filemask": "languages/*.json",
        "screenshot_filemask": "",
        "template": "languages/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/wild-magic-surge-5e/main/",
        "url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/?format=api",
        "repository_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/repository/?format=api",
        "translations_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/translations/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/statistics/?format=api",
        "lock_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/lock/?format=api",
        "links_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/links/?format=api",
        "changes_list_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/main/changes/?format=api",
        "task_url": null,
        "credits_url": "https://weblate.foundryvtt-hub.com/api/components/wild-magic-surge-5e/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/41/?format=api",
            "https://weblate.foundryvtt-hub.com/api/addons/42/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "fr",
    "id": 288,
    "filename": "languages/fr.json",
    "revision": "1da22f000564768d2661e7f2e6682fec9e2b000e,c601bdae011451db6c8213c36b80e100f6524437",
    "web_url": "https://weblate.foundryvtt-hub.com/projects/wild-magic-surge-5e/main/fr/",
    "share_url": "https://weblate.foundryvtt-hub.com/engage/wild-magic-surge-5e/-/fr/",
    "translate_url": "https://weblate.foundryvtt-hub.com/translate/wild-magic-surge-5e/main/fr/",
    "url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 90,
    "total_words": 978,
    "translated": 90,
    "translated_words": 978,
    "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": "2023-04-13T11:46:21.525662Z",
    "last_author": "Marc Feuillen",
    "repository_url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/repository/?format=api",
    "file_url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/file/?format=api",
    "statistics_url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/statistics/?format=api",
    "changes_list_url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/changes/?format=api",
    "units_list_url": "https://weblate.foundryvtt-hub.com/api/translations/wild-magic-surge-5e/main/fr/units/?format=api"
}