Translation components API.

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

GET /api/translations/xwiki-platform/skin-extensions/ru/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 237,
        "code": "ru",
        "name": "Russian",
        "plural": {
            "id": 237,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 2
        },
        "aliases": [
            "ru_r",
            "ru_rr",
            "rus"
        ],
        "direction": "ltr",
        "population": 195841151,
        "web_url": "https://l10n.xwiki.org/languages/ru/",
        "url": "https://l10n.xwiki.org/api/languages/ru/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/languages/ru/statistics/?format=api"
    },
    "component": {
        "name": "Skin Extensions",
        "slug": "skin-extensions",
        "id": 55,
        "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 Platform",
            "slug": "xwiki-platform",
            "id": 1,
            "web": "http://www.xwiki.org",
            "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/",
            "url": "https://l10n.xwiki.org/api/projects/xwiki-platform/?format=api",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/components/?format=api",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/repository/?format=api",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/statistics/?format=api",
            "categories_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/categories/?format=api",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/changes/?format=api",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/languages/?format=api",
            "labels_url": "https://l10n.xwiki.org/api/projects/xwiki-platform/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/xwiki-platform",
        "git_export": "",
        "branch": "master",
        "push_branch": "",
        "filemask": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources_*.properties",
        "screenshot_filemask": "",
        "template": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources.properties",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "xwiki-java-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-platform/skin-extensions/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/?format=api",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/repository/?format=api",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/translations/?format=api",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/statistics/?format=api",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/lock/?format=api",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/links/?format=api",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-platform/skin-extensions/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/xwiki/xwiki-platform",
        "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\r\n\r\nTranslations update from [Weblate]({{url}}) for {{ project_name }}/{{ component_name }}.\r\n\r\n{% if component.linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component.linked_child %}\r\n{{ component.project.name }}/{{ component.name }}\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})\r\n\r\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.",
        "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": "ru",
    "id": 980,
    "filename": "xwiki-platform-core/xwiki-platform-skin/xwiki-platform-skin-skinx/src/main/resources/ApplicationResources_ru.properties",
    "revision": "e2f0f182461bbd0ab999527601d39185e706b42e,b1cddd1543a9b616868b5a5eedffffb453a787dc",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-platform/skin-extensions/ru/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-platform/-/ru/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-platform/skin-extensions/ru/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 14,
    "total_words": 34,
    "translated": 14,
    "translated_words": 34,
    "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": "2018-12-19T03:27:48.302297Z",
    "last_author": "DenisF",
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/repository/?format=api",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/file/?format=api",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/statistics/?format=api",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/changes/?format=api",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-platform/skin-extensions/ru/units/?format=api"
}