Translation components API.

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

GET /api/components/hedy/adventures/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "Adventures",
    "slug": "adventures",
    "id": 11647,
    "source_language": {
        "id": 31,
        "code": "en",
        "name": "English",
        "plural": {
            "id": 75,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "en_en",
            "base",
            "source",
            "enp",
            "eng"
        ],
        "direction": "ltr",
        "population": 1636485517,
        "web_url": "https://hosted.weblate.org/languages/en/",
        "url": "https://hosted.weblate.org/api/languages/en/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en/statistics/?format=api"
    },
    "project": {
        "name": "Hedy",
        "slug": "hedy",
        "id": 2363,
        "web": "https://hedy.org/",
        "web_url": "https://hosted.weblate.org/projects/hedy/",
        "url": "https://hosted.weblate.org/api/projects/hedy/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/hedy/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/hedy/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/hedy/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/hedy/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/hedy/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/hedy/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/hedy/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": false,
        "instructions": "Translating Hedy\r\n================\r\n\r\nHedy is now (partly) available in 47 languages, we'd love to support more languages and complete the ones we have!\r\n\r\nGetting started\r\n================\r\n\r\nIf you are new to Hedy and/or to Weblate, the best thing do to is to follow our [Translation Tutorial on the Hedy Wiki](https://github.com/hedyorg/hedy/wiki/Hedy-Translation-Tutorial). Do you want to stay up to date with changes from the Hedy team? Register for the [newsletter for translators](https://hedy.org/subscribe) and we will let you know when new texts are there.\r\n\r\nConnecting with the Hedy Community!\r\n================\r\n\r\nAny questions can be sent to <hello@hedy.org> or join us on [Discord](https://discord.gg/yYug6CYfcq) in the #translators channel to chat!\r\n\r\nComponents\r\n================\r\n\r\nThe Hedy repository consists of a number of different components. They are listed in our preferred order of translations, and the text between brackets indicates the size of the component.\r\n\r\n- [Adventures(large)](https://hosted.weblate.org/projects/hedy/adventures/) contains all explanatory texts on the website in the tabs. \r\n- [Cheatsheets (medium)](https://hosted.weblate.org/projects/hedy/cheatsheets/) contains the texts and examples of the cheat sheets at the 🤔 emoji in the top corner (top left for left to right languages like English, top right in a right to left language like Arabic)\r\n- [Keywords (small)](https://hosted.weblate.org/projects/hedy/keywords/) If you want people to be able to code in your language, you will have to translate the keywords, for example, to allow kids in Spanish to use `imprimir ola` instead of `print hello` \r\n- [client-messages (small)](https://hosted.weblate.org/projects/hedy/client-messages/) There are a few error messages that we show on the front-end which are translated here. \r\n- [Texts (medium)](https://hosted.weblate.org/projects/hedy/web-texts/) contains the texts of all UI elements such as error messages and menu items.\r\n- [Achievements (small)](https://hosted.weblate.org/projects/hedy/achievements/) Users of Hedy can reach certain achievements such as running an erroneous program 3 times in a row. These achievements are stored in this component\r\n- [Parsons (medium)](https://hosted.weblate.org/settings/hedy/parsons/) contains the puzzles of the website\r\n- [Quizzes (large)(https://hosted.weblate.org/settings/hedy/quizzes/) contains the quizzes of the website (f.e. https://www.hedycode.com/hedy#quiz)\r\n- [Webpages (medium)](https://hosted.weblate.org/projects/hedy/webpages/nl/) Lowest priority, this component holds the texts of the website surrounding Hedy. This component does not affect the programming part of the website.",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "github",
    "repo": "https://github.com/hedyorg/hedy.git",
    "git_export": "https://hosted.weblate.org/git/hedy/adventures/",
    "branch": "main",
    "push_branch": "",
    "filemask": "content/adventures/*.yaml",
    "screenshot_filemask": "",
    "template": "content/adventures/en.yaml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "yaml",
    "license": "EUPL-1.2",
    "license_url": "https://spdx.org/licenses/EUPL-1.2.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/hedy/adventures/",
    "url": "https://hosted.weblate.org/api/components/hedy/adventures/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/hedy/adventures/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/hedy/adventures/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/hedy/adventures/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/hedy/adventures/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/hedy/adventures/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/hedy/adventures/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "",
    "check_flags": "ignore-double-space, ignore-translated, ignore-same, ignore-long-untranslated, ignore-ellipsis, ignore-inconsistent, placeholders:r\"`([^`\\n\\r]+)`|## \", python-brace-format",
    "priority": 60,
    "enforced_checks": [
        "python_brace_format"
    ],
    "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 }}\r\n\r\nTranslations update from [{{ site_title }}]({{ site_url }}) for [{{ project_name }}/{{ component_name }}]({{url}}).\r\n\r\n{% if component_linked_childs %}\r\nIt also includes following components:\r\n{% for linked in component_linked_childs %}\r\n* [{{ linked.project_name }}/{{ linked.name }}]({{ linked.url }})\r\n{% endfor %}\r\n{% endif %}\r\n\r\nCurrent translation status:\r\n\r\n![Weblate translation status]({{widget_url}})",
    "allow_translation_propagation": false,
    "manage_units": false,
    "enable_suggestions": false,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": false,
    "commit_pending_age": 2160,
    "auto_lock_error": false,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://hosted.weblate.org/api/addons/12558/?format=api",
        "https://hosted.weblate.org/api/addons/12498/?format=api",
        "https://hosted.weblate.org/api/addons/5780/?format=api",
        "https://hosted.weblate.org/api/addons/6050/?format=api",
        "https://hosted.weblate.org/api/addons/5994/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": null
}