Translation components API.

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

GET /api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 37,
        "code": "bg_bg",
        "name": "Bulgarian",
        "plural": {
            "id": 37,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [],
        "direction": "ltr",
        "population": 0,
        "web_url": "https://kodi.weblate.cloud/languages/bg_bg/",
        "url": "https://kodi.weblate.cloud/api/languages/bg_bg/?format=api",
        "statistics_url": "https://kodi.weblate.cloud/api/languages/bg_bg/statistics/?format=api"
    },
    "component": {
        "name": "service.xbmc.versioncheck",
        "slug": "service-xbmc-versioncheck",
        "id": 152,
        "source_language": {
            "id": 82,
            "code": "en_gb",
            "name": "English (United Kingdom)",
            "plural": {
                "id": 82,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [],
            "direction": "ltr",
            "population": 0,
            "web_url": "https://kodi.weblate.cloud/languages/en_gb/",
            "url": "https://kodi.weblate.cloud/api/languages/en_gb/?format=api",
            "statistics_url": "https://kodi.weblate.cloud/api/languages/en_gb/statistics/?format=api"
        },
        "project": {
            "name": "Kodi core",
            "slug": "kodi-core",
            "id": 2,
            "web": "https://kodi.tv/",
            "web_url": "https://kodi.weblate.cloud/projects/kodi-core/",
            "url": "https://kodi.weblate.cloud/api/projects/kodi-core/?format=api",
            "components_list_url": "https://kodi.weblate.cloud/api/projects/kodi-core/components/?format=api",
            "repository_url": "https://kodi.weblate.cloud/api/projects/kodi-core/repository/?format=api",
            "statistics_url": "https://kodi.weblate.cloud/api/projects/kodi-core/statistics/?format=api",
            "categories_url": "https://kodi.weblate.cloud/api/projects/kodi-core/categories/?format=api",
            "changes_list_url": "https://kodi.weblate.cloud/api/projects/kodi-core/changes/?format=api",
            "languages_url": "https://kodi.weblate.cloud/api/projects/kodi-core/languages/?format=api",
            "labels_url": "https://kodi.weblate.cloud/api/projects/kodi-core/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "## [Join a language team](https://forum.kodi.tv/showthread.php?tid=363132)  \r\n\r\n## [Using Weblate](https://forum.kodi.tv/showthread.php?tid=363590)\r\n\r\n## [Submit an add-on for translation](https://forum.kodi.tv/showthread.php?tid=359836) \r\n<br/>  \r\n<br/>  \r\n# [Join the official Slack channel for language and translation related discussions](https://forum.kodi.tv/showthread.php?tid=370465)\r\n# Or contact @gade \r\n\r\n<br/>  \r\n<br/>  \r\n# [Wiki: Translations](https://kodi.wiki/view/Translations)  \r\n<br/>  \r\n# [Wiki: Language support in Kodi](https://kodi.wiki/view/Language_support)",
            "enable_hooks": true,
            "language_aliases": "af:af_za,ar:ar_sa,am:am_et,ast:ast_es,az:az_az,be:be_by,bg:bg_bg,bs:bs_ba,ca:ca_es,cs:cs_cz,cy:cy_gb,da:da_dk,de:de_de,el:el_gr,en:en_gb,es:es_es,et:et_ee,eu:eu_es,fa:fa_af,fi:fi_fi,fo:fo_fo,fr:fr_fr,gl:gl_es,hi:hi_in,hr:hr_hr,hu:hu_hu,hy:hy_am,id:id_id,is:is_is,it:it_it,iw:he_il,ja:ja_jp,kl:kl_gl,kn:kn_in,ko:ko_kr,lt:lt_lt,lv:lv_lv,mk:mk_mk,ml:ml_in,mn:mn_mn,ms:ms_my,mt:mt_mt,my:my_mm,nb:nb_no,os:os_os,nl:nl_nl,pl:pl_pl,pt:pt_pt,ro:ro_ro,ru:ru_ru,si:si_lk,sk:sk_sk,sl:sl_si,sq:sq_al,sr:sr_rs,sr_rs@latin:sr_Latn,sv:sv_se,tg:tg_tj,ta:ta_in,te:te_in,th:th_th,tr:tr_tr,uk:uk_ua,uz:uz_uz,vi:vi_vn"
        },
        "vcs": "github",
        "repo": "https://github.com/XBMC-Addons/service.xbmc.versioncheck.git",
        "git_export": "https://kodi.weblate.cloud/git/kodi-core/service-xbmc-versioncheck/",
        "branch": "master",
        "push_branch": "",
        "filemask": "resources/language/resource.language.*/strings.po",
        "screenshot_filemask": "",
        "template": "",
        "edit_template": false,
        "intermediate": "",
        "new_base": "resources/language/resource.language.en_gb/strings.po",
        "file_format": "po",
        "license": "GPL-2.0-or-later",
        "license_url": "https://spdx.org/licenses/GPL-2.0-or-later.html",
        "agreement": "",
        "web_url": "https://kodi.weblate.cloud/projects/kodi-core/service-xbmc-versioncheck/",
        "url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/?format=api",
        "repository_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/repository/?format=api",
        "translations_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/translations/?format=api",
        "statistics_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/statistics/?format=api",
        "lock_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/lock/?format=api",
        "links_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/links/?format=api",
        "changes_list_url": "https://kodi.weblate.cloud/api/components/kodi-core/service-xbmc-versioncheck/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "",
        "check_flags": "ignore-long-untranslated,ignore-multiple-failures,ignore-optional-plural",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "",
        "report_source_bugs": "translations@kodi.tv",
        "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": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 120,
        "auto_lock_error": true,
        "language_regex": "^(?!(en_gb)$).+$",
        "variant_regex": "",
        "addons": [
            "https://kodi.weblate.cloud/api/addons/383/?format=api",
            "https://kodi.weblate.cloud/api/addons/381/?format=api",
            "https://kodi.weblate.cloud/api/addons/382/?format=api",
            "https://kodi.weblate.cloud/api/addons/1770/?format=api"
        ],
        "is_glossary": false,
        "glossary_color": "silver",
        "category": null,
        "linked_component": null
    },
    "language_code": "bg_bg",
    "id": 15502,
    "filename": "resources/language/resource.language.bg_bg/strings.po",
    "revision": "66ece33e59a147b1df767c8c21682678a8dd487a",
    "web_url": "https://kodi.weblate.cloud/projects/kodi-core/service-xbmc-versioncheck/bg_bg/",
    "share_url": "https://kodi.weblate.cloud/engage/kodi-core/-/bg_bg/",
    "translate_url": "https://kodi.weblate.cloud/translate/kodi-core/service-xbmc-versioncheck/bg_bg/",
    "url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 25,
    "total_words": 191,
    "translated": 24,
    "translated_words": 174,
    "translated_percent": 96.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 4,
    "failing_checks_words": 37,
    "failing_checks_percent": 16.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2024-04-05T21:54:41.527269Z",
    "last_author": null,
    "repository_url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/repository/?format=api",
    "file_url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/file/?format=api",
    "statistics_url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/statistics/?format=api",
    "changes_list_url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/changes/?format=api",
    "units_list_url": "https://kodi.weblate.cloud/api/translations/kodi-core/service-xbmc-versioncheck/bg_bg/units/?format=api"
}