Translation components API.

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

GET /api/translations/jellyfin-android/glossary/lv/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 186,
        "code": "lv",
        "name": "Latvian",
        "plural": {
            "id": 186,
            "source": 0,
            "number": 3,
            "formula": "(n % 10 == 0 || n % 100 >= 11 && n % 100 <= 19) ? 0 : ((n % 10 == 1 && n % 100 != 11) ? 1 : 2)",
            "type": 11
        },
        "aliases": [
            "lav",
            "lvs"
        ],
        "direction": "ltr",
        "population": 1147550,
        "web_url": "https://translate.jellyfin.org/languages/lv/",
        "url": "https://translate.jellyfin.org/api/languages/lv/?format=api",
        "statistics_url": "https://translate.jellyfin.org/api/languages/lv/statistics/?format=api"
    },
    "component": {
        "name": "Glossary",
        "slug": "glossary",
        "id": 27,
        "source_language": {
            "id": 73,
            "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": 1636485517,
            "web_url": "https://translate.jellyfin.org/languages/en/",
            "url": "https://translate.jellyfin.org/api/languages/en/?format=api",
            "statistics_url": "https://translate.jellyfin.org/api/languages/en/statistics/?format=api"
        },
        "project": {
            "name": "Jellyfin Android",
            "slug": "jellyfin-android",
            "id": 4,
            "web": "https://github.com/jellyfin/jellyfin-android",
            "web_url": "https://translate.jellyfin.org/projects/jellyfin-android/",
            "url": "https://translate.jellyfin.org/api/projects/jellyfin-android/?format=api",
            "components_list_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/components/?format=api",
            "repository_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/repository/?format=api",
            "statistics_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/statistics/?format=api",
            "categories_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/categories/?format=api",
            "changes_list_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/changes/?format=api",
            "languages_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/languages/?format=api",
            "labels_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/labels/?format=api",
            "credits_url": "https://translate.jellyfin.org/api/projects/jellyfin-android/credits/?format=api",
            "translation_review": false,
            "source_review": true,
            "set_language_team": false,
            "instructions": "",
            "enable_hooks": true,
            "language_aliases": "",
            "enforced_2fa": false
        },
        "vcs": "local",
        "repo": "local:",
        "git_export": "https://translate.jellyfin.org/git/jellyfin-android/glossary/",
        "branch": "main",
        "push_branch": "",
        "filemask": "*.po",
        "screenshot_filemask": "",
        "template": "en.po",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "po-mono",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "https://translate.jellyfin.org/projects/jellyfin-android/glossary/",
        "url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/?format=api",
        "repository_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/repository/?format=api",
        "translations_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/translations/?format=api",
        "statistics_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/statistics/?format=api",
        "lock_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/lock/?format=api",
        "links_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/links/?format=api",
        "changes_list_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/changes/?format=api",
        "task_url": null,
        "credits_url": "https://translate.jellyfin.org/api/components/jellyfin-android/glossary/credits/?format=api",
        "new_lang": "none",
        "language_code_style": "",
        "push": "",
        "check_flags": "",
        "priority": 140,
        "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 {{ 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": false,
        "enable_suggestions": false,
        "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": true,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "lv",
    "id": 1228,
    "filename": "lv.po",
    "revision": "4f8f6e6dec598f7b38d9fabe8f06f7ee39f31dcf,f4d73dcaf28f710323e16c25bfbb97b50a6f99c1",
    "web_url": "https://translate.jellyfin.org/projects/jellyfin-android/glossary/lv/",
    "share_url": "https://translate.jellyfin.org/engage/jellyfin-android/-/lv/",
    "translate_url": "https://translate.jellyfin.org/translate/jellyfin-android/glossary/lv/",
    "url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 6,
    "total_words": 8,
    "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": "2022-10-06T01:15:51.058258-04:00",
    "last_author": null,
    "repository_url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/repository/?format=api",
    "file_url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/file/?format=api",
    "statistics_url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/statistics/?format=api",
    "changes_list_url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/changes/?format=api",
    "units_list_url": "https://translate.jellyfin.org/api/translations/jellyfin-android/glossary/lv/units/?format=api"
}