Translation components API.

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

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

{
    "name": "Security",
    "slug": "security",
    "id": 25335,
    "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": "Ouisync",
        "slug": "ouisync",
        "id": 2448,
        "web": "https://ouisync.net",
        "web_url": "https://hosted.weblate.org/projects/ouisync/",
        "url": "https://hosted.weblate.org/api/projects/ouisync/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/ouisync/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/ouisync/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/ouisync/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/ouisync/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/ouisync/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/ouisync/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/ouisync/labels/?format=api",
        "translation_review": true,
        "source_review": false,
        "set_language_team": true,
        "instructions": "Thanks for helping to translate Ouisync!\r\n\r\nTo get started:\r\n\r\n1. Make an account on [Weblate](https://weblate.org/) or sign in with your Github or Gitlab ID. *Note: Account creation is not required, but you will only be able to suggest translations in this case*\r\n\r\n2. Visit the [Ouisync project page](https://hosted.weblate.org/projects/ouisync) - which lists all components and their strings (including Android app strings, the web browser extension, the User Manual and the website).\r\n\r\n3. On the [OuiSync project page's 'Languages' tab](https://hosted.weblate.org/projects/ouisync/#languages), choose the language you want to work on, or -- in case the language doesn't exist yet -- initiate a new language by selecting a component from the main project page and clicking on the \"Start a new translation\" button. Please note that we can't support shipping arbitrary translations with our published materials unless they have a reviewer (see below).\r\n\r\n4. Please contact the Ouisync team at support AT ouisync DOT net if you are interested in becoming a reviewer for translation(s) in your language(s).\r\n\r\n5. For more information about how to use Weblate, see the [Weblate documentation](https://docs.weblate.org/).",
        "enable_hooks": true,
        "language_aliases": "en_US:en"
    },
    "vcs": "github",
    "repo": "https://github.com/equalitie/ouisync-web",
    "git_export": "",
    "branch": "main",
    "push_branch": "",
    "filemask": "content/*/security.md",
    "screenshot_filemask": "",
    "template": "content/en/security.md",
    "edit_template": false,
    "intermediate": "",
    "new_base": "content/en/security.md",
    "file_format": "markdown",
    "license": "AGPL-3.0-or-later",
    "license_url": "https://spdx.org/licenses/AGPL-3.0-or-later.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/ouisync/security/",
    "url": "https://hosted.weblate.org/api/components/ouisync/security/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/ouisync/security/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/ouisync/security/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/ouisync/security/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/ouisync/security/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/ouisync/security/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/ouisync/security/changes/?format=api",
    "task_url": null,
    "new_lang": "contact",
    "language_code_style": "",
    "push": "",
    "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 \"{{ 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": true,
    "manage_units": false,
    "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": "",
    "addons": [
        "https://hosted.weblate.org/api/addons/12207/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": "https://hosted.weblate.org/api/components/ouisync/website-json/?format=api"
}