Translation components API.

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

GET /api/translations/xwiki-contrib/mocca-calendar-application/fr/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 96,
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 96,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra_fr",
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "population": 278611506,
        "web_url": "https://l10n.xwiki.org/languages/fr/",
        "url": "https://l10n.xwiki.org/api/languages/fr/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/languages/fr/statistics/?format=api"
    },
    "component": {
        "name": "Mocca Calendar Application",
        "slug": "mocca-calendar-application",
        "id": 109,
        "source_language": {
            "id": 71,
            "code": "en",
            "name": "English",
            "plural": {
                "id": 71,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 1636485517,
            "web_url": "https://l10n.xwiki.org/languages/en/",
            "url": "https://l10n.xwiki.org/api/languages/en/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "XWiki Contrib",
            "slug": "xwiki-contrib",
            "id": 3,
            "web": "http://contrib.xwiki.org",
            "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/",
            "url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/?format=api",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/components/?format=api",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/repository/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/statistics/?format=api",
            "categories_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/categories/?format=api",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/changes/?format=api",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/languages/?format=api",
            "labels_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/labels/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/xwiki-contrib/application-mocca-calendar",
        "git_export": "https://l10n.xwiki.org/git/xwiki-contrib/mocca-calendar-application/",
        "branch": "master",
        "push_branch": "",
        "filemask": "application-mocca-calendar-ui/src/main/resources/MoccaCalendar/MoccaCalendarTranslations.*.xml",
        "screenshot_filemask": "",
        "template": "application-mocca-calendar-ui/src/main/resources/MoccaCalendar/MoccaCalendarTranslations.xml",
        "edit_template": true,
        "intermediate": "",
        "new_base": "",
        "file_format": "xwiki-page-properties",
        "license": "LGPL-2.1-only",
        "license_url": "https://spdx.org/licenses/LGPL-2.1-only.html",
        "agreement": "",
        "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/mocca-calendar-application/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/?format=api",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/repository/?format=api",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/translations/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/statistics/?format=api",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/lock/?format=api",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/links/?format=api",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/mocca-calendar-application/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/xwiki-contrib/application-mocca-calendar",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "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 Weblate\n\nTranslations update from [Weblate]({{url}}) for {{ project_name }}/{{ component_name }}.\n\n{% if component.linked_childs %}\nIt also includes following components:\n{% for linked in component.linked_child %}\n{{ component.project.name }}/{{ component.name }}\n{% endfor %}\n{% endif %}\n\nCurrent translation status:\n\n![Weblate translation status]({{widget_url}})\n\nIf a new locale is introduced by this pull request make sure to follow https://dev.xwiki.org/xwiki/bin/view/Community/L10N/SupportedLocales/#HNewlocalechecklist before applying it.\n",
        "allow_translation_propagation": true,
        "manage_units": true,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 1,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null
    },
    "language_code": "fr",
    "id": 655,
    "filename": "application-mocca-calendar-ui/src/main/resources/MoccaCalendar/MoccaCalendarTranslations.fr.xml",
    "revision": "7c1e5d408d75413cafe1722719a48f950f9dcb9c,d7c3b2f4db932060b8599123150a11f05c35e9fc",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/mocca-calendar-application/fr/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-contrib/-/fr/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-contrib/mocca-calendar-application/fr/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 121,
    "total_words": 514,
    "translated": 121,
    "translated_words": 514,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 13,
    "failing_checks_words": 180,
    "failing_checks_percent": 10.7,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2019-09-05T08:26:58.920346Z",
    "last_author": "Thomas Mortagne",
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/repository/?format=api",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/file/?format=api",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/statistics/?format=api",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/changes/?format=api",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/mocca-calendar-application/fr/units/?format=api"
}