Translation components API.

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

GET /api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "fr",
        "name": "French",
        "plural": {
            "id": 96,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "fra",
            "fre"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.xwiki.org/languages/fr/",
        "url": "https://l10n.xwiki.org/api/languages/fr/",
        "statistics_url": "https://l10n.xwiki.org/api/languages/fr/statistics/"
    },
    "component": {
        "name": "Developer Tools - Syntax Highlighting",
        "slug": "developer-tools---syntax-highlighting",
        "id": 170,
        "source_language": {
            "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",
            "web_url": "https://l10n.xwiki.org/languages/en/",
            "url": "https://l10n.xwiki.org/api/languages/en/",
            "statistics_url": "https://l10n.xwiki.org/api/languages/en/statistics/"
        },
        "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/",
            "components_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/components/",
            "repository_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/repository/",
            "statistics_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/statistics/",
            "changes_list_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/changes/",
            "languages_url": "https://l10n.xwiki.org/api/projects/xwiki-contrib/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/xwiki-contrib/wiki-editor-devtools.git",
        "git_export": "https://l10n.xwiki.org/git/xwiki-contrib/developer-tools---syntax-highlighting/",
        "branch": "master",
        "push_branch": "",
        "filemask": "editor-tool-highlighting/editor-tool-highlighting-ui/src/main/resources/SyntaxHighlighting/Translations.*.xml",
        "template": "editor-tool-highlighting/editor-tool-highlighting-ui/src/main/resources/SyntaxHighlighting/Translations.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/developer-tools---syntax-highlighting/",
        "url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/",
        "repository_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/repository/",
        "translations_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/translations/",
        "statistics_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/statistics/",
        "lock_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/lock/",
        "links_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/links/",
        "changes_list_url": "https://l10n.xwiki.org/api/components/xwiki-contrib/developer-tools---syntax-highlighting/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/xwiki-contrib/wiki-editor-devtools.git",
        "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"
    },
    "language_code": "fr",
    "id": 3342,
    "filename": "editor-tool-highlighting/editor-tool-highlighting-ui/src/main/resources/SyntaxHighlighting/Translations.fr.xml",
    "revision": "09a7cac30a9280f406b0f0384291565ed69d6cb4,583953de4ab6de29be9746004b392e278e377f69",
    "web_url": "https://l10n.xwiki.org/projects/xwiki-contrib/developer-tools---syntax-highlighting/fr/",
    "share_url": "https://l10n.xwiki.org/engage/xwiki-contrib/fr/",
    "translate_url": "https://l10n.xwiki.org/translate/xwiki-contrib/developer-tools---syntax-highlighting/fr/",
    "url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/",
    "is_template": false,
    "is_source": false,
    "total": 11,
    "total_words": 71,
    "translated": 11,
    "translated_words": 71,
    "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": "2020-02-12T15:03:22.813208Z",
    "last_author": "Paul Massol",
    "repository_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/repository/",
    "file_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/file/",
    "statistics_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/statistics/",
    "changes_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/changes/",
    "units_list_url": "https://l10n.xwiki.org/api/translations/xwiki-contrib/developer-tools---syntax-highlighting/fr/units/"
}