Translation components API.

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

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

{
    "language": {
        "code": "br",
        "name": "Breton",
        "plural": {
            "id": 40,
            "source": 0,
            "number": 5,
            "formula": "(n % 10 == 1 && n % 100 != 11 && n % 100 != 71 && n % 100 != 91) ? 0 : ((n % 10 == 2 && n % 100 != 12 && n % 100 != 72 && n % 100 != 92) ? 1 : ((((n % 10 == 3 || n % 10 == 4) || n % 10 == 9) && (n % 100 < 10 || n % 100 > 19) && (n % 100 < 70 || n % 100 > 79) && (n % 100 < 90 || n % 100 > 99)) ? 2 : ((n != 0 && n % 1000000 == 0) ? 3 : 4)))",
            "type": 10
        },
        "aliases": [
            "bre"
        ],
        "direction": "ltr",
        "web_url": "https://translate.yunohost.org/languages/br/",
        "url": "https://translate.yunohost.org/api/languages/br/",
        "statistics_url": "https://translate.yunohost.org/api/languages/br/statistics/"
    },
    "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",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://translate.yunohost.org/languages/en/",
            "url": "https://translate.yunohost.org/api/languages/en/",
            "statistics_url": "https://translate.yunohost.org/api/languages/en/statistics/"
        },
        "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/",
            "components_list_url": "https://translate.yunohost.org/api/projects/yunohost/components/",
            "repository_url": "https://translate.yunohost.org/api/projects/yunohost/repository/",
            "statistics_url": "https://translate.yunohost.org/api/projects/yunohost/statistics/",
            "changes_list_url": "https://translate.yunohost.org/api/projects/yunohost/changes/",
            "languages_url": "https://translate.yunohost.org/api/projects/yunohost/languages/",
            "translation_review": false,
            "source_review": false,
            "set_language_team": true,
            "instructions": "",
            "mail": "",
            "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://www.gnu.org/licenses/agpl.txt",
        "agreement": "",
        "web_url": "https://translate.yunohost.org/projects/yunohost/admin/",
        "url": "https://translate.yunohost.org/api/components/yunohost/admin/",
        "repository_url": "https://translate.yunohost.org/api/components/yunohost/admin/repository/",
        "translations_url": "https://translate.yunohost.org/api/components/yunohost/admin/translations/",
        "statistics_url": "https://translate.yunohost.org/api/components/yunohost/admin/statistics/",
        "lock_url": "https://translate.yunohost.org/api/components/yunohost/admin/lock/",
        "changes_list_url": "https://translate.yunohost.org/api/components/yunohost/admin/changes/",
        "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 }}",
        "allow_translation_propagation": 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": ""
    },
    "language_code": "br",
    "id": 18,
    "filename": "app/src/i18n/locales/br.json",
    "revision": "0967ef424bce6791893e9a57bb952f80fd536e93,36f4efceed28c5b78a641420448499a3a1f2b3b8",
    "web_url": "https://translate.yunohost.org/projects/yunohost/admin/br/",
    "share_url": "https://translate.yunohost.org/engage/yunohost/br/",
    "translate_url": "https://translate.yunohost.org/translate/yunohost/admin/br/",
    "url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/",
    "is_template": false,
    "is_source": false,
    "total": 401,
    "total_words": 2525,
    "translated": 0,
    "translated_words": 0,
    "translated_percent": 0.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": null,
    "last_author": null,
    "repository_url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/repository/",
    "file_url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/file/",
    "statistics_url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/statistics/",
    "changes_list_url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/changes/",
    "units_list_url": "https://translate.yunohost.org/api/translations/yunohost/admin/br/units/"
}