Translation components API.

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

GET /api/translations/yunohost/admin/ar/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "ar",
        "name": "Arabic",
        "plural": {
            "id": 12,
            "source": 0,
            "number": 6,
            "formula": "n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 ? 4 : 5",
            "type": 3
        },
        "aliases": [
            "ar_ar",
            "ara"
        ],
        "direction": "rtl",
        "population": 33976394953,
        "web_url": "https://translate.yunohost.org/languages/ar/",
        "url": "https://translate.yunohost.org/api/languages/ar/?format=api",
        "statistics_url": "https://translate.yunohost.org/api/languages/ar/statistics/?format=api"
    },
    "component": {
        "name": "admin",
        "slug": "admin",
        "id": 2,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 73,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "population": 159034349015,
            "web_url": "https://translate.yunohost.org/languages/en/",
            "url": "https://translate.yunohost.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.yunohost.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "YunoHost",
            "slug": "yunohost",
            "id": 1,
            "web": "https://yunohost.org",
            "web_url": "https://translate.yunohost.org/projects/yunohost/",
            "url": "https://translate.yunohost.org/api/projects/yunohost/?format=api",
            "components_list_url": "https://translate.yunohost.org/api/projects/yunohost/components/?format=api",
            "repository_url": "https://translate.yunohost.org/api/projects/yunohost/repository/?format=api",
            "statistics_url": "https://translate.yunohost.org/api/projects/yunohost/statistics/?format=api",
            "changes_list_url": "https://translate.yunohost.org/api/projects/yunohost/changes/?format=api",
            "languages_url": "https://translate.yunohost.org/api/projects/yunohost/languages/?format=api",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "github",
        "repo": "https://github.com/YunoHost/yunohost-admin.git",
        "git_export": "https://translate.yunohost.org/git/yunohost/admin/",
        "branch": "dev",
        "push_branch": "",
        "filemask": "app/src/i18n/locales/*.json",
        "template": "app/src/i18n/locales/en.json",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "json",
        "license": "AGPL-3.0-or-later",
        "license_url": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
        "agreement": "",
        "web_url": "https://translate.yunohost.org/projects/yunohost/admin/",
        "url": "https://translate.yunohost.org/api/components/yunohost/admin/?format=api",
        "repository_url": "https://translate.yunohost.org/api/components/yunohost/admin/repository/?format=api",
        "translations_url": "https://translate.yunohost.org/api/components/yunohost/admin/translations/?format=api",
        "statistics_url": "https://translate.yunohost.org/api/components/yunohost/admin/statistics/?format=api",
        "lock_url": "https://translate.yunohost.org/api/components/yunohost/admin/lock/?format=api",
        "links_url": "https://translate.yunohost.org/api/components/yunohost/admin/links/?format=api",
        "changes_list_url": "https://translate.yunohost.org/api/components/yunohost/admin/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "https://github.com/YunoHost/yunohost-admin.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 \"{{ hook_name }}\" hook in Weblate.\r\n\r\nTranslation: {{ project_name }}/{{ component_name }}\r\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": [],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "ar",
    "id": 17,
    "filename": "app/src/i18n/locales/ar.json",
    "revision": "91e0db36046f6eae8d8b0e2f081d21ac7d0108b4,7eac7dec3c3f7d14e2e1a2c1cc930cdcdd2ae34e",
    "web_url": "https://translate.yunohost.org/projects/yunohost/admin/ar/",
    "share_url": "https://translate.yunohost.org/engage/yunohost/ar/",
    "translate_url": "https://translate.yunohost.org/translate/yunohost/admin/ar/",
    "url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 504,
    "total_words": 3246,
    "translated": 343,
    "translated_words": 1322,
    "translated_percent": 68.0,
    "fuzzy": 4,
    "fuzzy_words": 63,
    "fuzzy_percent": 0.7,
    "failing_checks": 4,
    "failing_checks_words": 98,
    "failing_checks_percent": 0.7,
    "have_suggestion": 4,
    "have_comment": 0,
    "last_change": "2022-08-05T10:56:55.623750Z",
    "last_author": "ButterflyOfFire",
    "repository_url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/repository/?format=api",
    "file_url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/file/?format=api",
    "statistics_url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/statistics/?format=api",
    "changes_list_url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/changes/?format=api",
    "units_list_url": "https://translate.yunohost.org/api/translations/yunohost/admin/ar/units/?format=api"
}