Translation components API.

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

GET /api/components/nebulo/nebulo/
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "General strings",
    "slug": "nebulo",
    "id": 1,
    "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://weblate.frostnerd.com/languages/en/",
        "url": "https://weblate.frostnerd.com/api/languages/en/",
        "statistics_url": "https://weblate.frostnerd.com/api/languages/en/statistics/"
    },
    "project": {
        "name": "Nebulo",
        "slug": "nebulo",
        "id": 1,
        "web": "https://git.frostnerd.com/PublicAndroidApps/Smokescreen",
        "web_url": "https://weblate.frostnerd.com/projects/nebulo/",
        "url": "https://weblate.frostnerd.com/api/projects/nebulo/",
        "components_list_url": "https://weblate.frostnerd.com/api/projects/nebulo/components/",
        "repository_url": "https://weblate.frostnerd.com/api/projects/nebulo/repository/",
        "statistics_url": "https://weblate.frostnerd.com/api/projects/nebulo/statistics/",
        "changes_list_url": "https://weblate.frostnerd.com/api/projects/nebulo/changes/",
        "languages_url": "https://weblate.frostnerd.com/api/projects/nebulo/languages/",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "https://git.frostnerd.com/PublicAndroidApps/smokescreen/blob/master/TRANSLATING.md",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "git",
    "repo": "https://git.frostnerd.com/PublicAndroidApps/smokescreen",
    "git_export": "https://weblate.frostnerd.com/git/nebulo/nebulo/",
    "branch": "translations",
    "push_branch": "",
    "filemask": "app/src/main/res/values-*/strings.xml",
    "template": "app/src/main/res/values/strings.xml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "aresource",
    "license": "GPL-3.0-only",
    "license_url": "https://spdx.org/licenses/GPL-3.0-only.html",
    "agreement": "By providing translations you (the user) agree that:\r\n - The copyright to the translations stays with you\r\n - The translations are made available in source and binary form under the GPLv3 license as part of the Nebulo mobile application\r\n - You grant Daniel Wolf a non-retractable right to make use of the translations without restrictions and a non-retractable right to distribute them in both binary and source form\r\n - You've read the privacy statement (https://git.frostnerd.com/PublicAndroidApps/smokescreen/blob/master/TRANSLATING.md#privacy-policy) and agree to it\r\n - You've read the license terms (https://git.frostnerd.com/PublicAndroidApps/smokescreen/blob/master/TRANSLATING.md#license) and agree to them\r\n   - The license for the translations might change at any given point. Translations will always be Open-source, only the details might be adjusted in the future.\r\n\r\nIf wanted, your name can be added to the credits dialog of the app and to the credits of the source code after providing a translation.",
    "web_url": "https://weblate.frostnerd.com/projects/nebulo/nebulo/",
    "url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/",
    "repository_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/repository/",
    "translations_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/translations/",
    "statistics_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/statistics/",
    "lock_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/lock/",
    "links_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/links/",
    "changes_list_url": "https://weblate.frostnerd.com/api/components/nebulo/nebulo/changes/",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "https://git.frostnerd.com/PublicAndroidApps/smokescreen.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": true,
    "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"
}