Translation components API.

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

GET /api/translations/swade-immersive-macros/main/en/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "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"
    },
    "component": {
        "name": "main",
        "slug": "main",
        "id": 64,
        "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": "SWADE Immersion Module",
            "slug": "swade-immersive-macros",
            "id": 31,
            "web": "https://github.com/SalieriC/SWADE-Immersive-Macros",
            "web_url": "https://weblate.foundryvtt-hub.com/projects/swade-immersive-macros/",
            "url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/?format=api",
            "components_list_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/components/?format=api",
            "repository_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/repository/?format=api",
            "statistics_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/statistics/?format=api",
            "categories_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/categories/?format=api",
            "changes_list_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/changes/?format=api",
            "languages_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/languages/?format=api",
            "labels_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/labels/?format=api",
            "credits_url": "https://weblate.foundryvtt-hub.com/api/projects/swade-immersive-macros/credits/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "SWIM has started as a Series of Macros which, by their nature, couldn't be localised. Full localisation is currently WIP, a few new translation strings are added each release. If you're also a dev you may help me out to head over to the repo and make a PR with a few added strings in code and json.  \r\n  \r\n**Important note**  \r\nSWIM seeks to introduce immersion and uses a lot of chat messages. Naturally these use pronouns. As of version 1.0.0 SWIM offers users the option to set up a pronoun for their actors (it defaults to 'its' to fit most NPC monsters). In languages where pronouns are often inflected it is up to you as a translator to find a way around it. One possible way is to adjust the loca string in a way that it fits possible pronouns. Whenever you see the `{pronoun}` variable in a loca string you may be able to add an inflection that would fit both, the sentence *and* the pronoun. If that isn't feasible (either because it's impossible in the target language or because it's too much work), you may want to add a warning in the `\"SWIM.Config_PronounHint\"` loca string .  - Thank you. =)",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "github",
        "repo": "https://github.com/SalieriC/SWADE-Immersive-Macros.git",
        "git_export": "https://weblate.foundryvtt-hub.com/git/swade-immersive-macros/main/",
        "branch": "main",
        "push_branch": "",
        "filemask": "swim/lang/*.json",
        "screenshot_filemask": "",
        "template": "swim/lang/en.json",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "json",
        "license": "GPL-3.0-only",
        "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
        "agreement": "",
        "web_url": "https://weblate.foundryvtt-hub.com/projects/swade-immersive-macros/main/",
        "url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/?format=api",
        "repository_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/repository/?format=api",
        "translations_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/translations/?format=api",
        "statistics_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/statistics/?format=api",
        "lock_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/lock/?format=api",
        "links_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/links/?format=api",
        "changes_list_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/main/changes/?format=api",
        "task_url": null,
        "credits_url": "https://weblate.foundryvtt-hub.com/api/components/swade-immersive-macros/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/63/?format=api",
            "https://weblate.foundryvtt-hub.com/api/addons/64/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "en",
    "id": 399,
    "filename": "swim/lang/en.json",
    "revision": "e54e0e27e9dbf0d47bc69eef2f05fc33f65c2826,e54e0e27e9dbf0d47bc69eef2f05fc33f65c2826",
    "web_url": "https://weblate.foundryvtt-hub.com/projects/swade-immersive-macros/main/en/",
    "share_url": "https://weblate.foundryvtt-hub.com/engage/swade-immersive-macros/-/en/",
    "translate_url": "https://weblate.foundryvtt-hub.com/translate/swade-immersive-macros/main/en/",
    "url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/?format=api",
    "is_template": true,
    "is_source": true,
    "total": 653,
    "total_words": 5300,
    "translated": 653,
    "translated_words": 5300,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 207,
    "failing_checks_words": 1882,
    "failing_checks_percent": 31.6,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-03-21T18:27:33.472064Z",
    "last_author": null,
    "repository_url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/repository/?format=api",
    "file_url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/file/?format=api",
    "statistics_url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/statistics/?format=api",
    "changes_list_url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/changes/?format=api",
    "units_list_url": "https://weblate.foundryvtt-hub.com/api/translations/swade-immersive-macros/main/en/units/?format=api"
}