Translation components API.

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

GET /api/components/otp-react-redux/otp-ui-trip-details/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "name": "OTP-UI Trip Details",
    "slug": "otp-ui-trip-details",
    "id": 15547,
    "source_language": {
        "id": 135,
        "code": "en_US",
        "name": "English (United States)",
        "plural": {
            "id": 82,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "us",
            "enu"
        ],
        "direction": "ltr",
        "population": 319333440,
        "web_url": "https://hosted.weblate.org/languages/en_US/",
        "url": "https://hosted.weblate.org/api/languages/en_US/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/en_US/statistics/?format=api"
    },
    "project": {
        "name": "OTP-react-redux",
        "slug": "otp-react-redux",
        "id": 3211,
        "web": "https://github.com/opentripplanner/otp-react-redux",
        "web_url": "https://hosted.weblate.org/projects/otp-react-redux/",
        "url": "https://hosted.weblate.org/api/projects/otp-react-redux/?format=api",
        "components_list_url": "https://hosted.weblate.org/api/projects/otp-react-redux/components/?format=api",
        "repository_url": "https://hosted.weblate.org/api/projects/otp-react-redux/repository/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/projects/otp-react-redux/statistics/?format=api",
        "categories_url": "https://hosted.weblate.org/api/projects/otp-react-redux/categories/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/projects/otp-react-redux/changes/?format=api",
        "languages_url": "https://hosted.weblate.org/api/projects/otp-react-redux/languages/?format=api",
        "labels_url": "https://hosted.weblate.org/api/projects/otp-react-redux/labels/?format=api",
        "translation_review": false,
        "source_review": false,
        "set_language_team": true,
        "instructions": "Thank you for helping translate OTP-react-redux!\r\nOTP-react-redux helps users discover public transportation options, such as which bus or subway lines they can take to go from point A to point B.\r\n\r\nIf you know basic public transportation terminology, contributions are needed for the following languages:\r\n- Spanish\r\n- Chinese Simplified\r\n- Korean\r\n- Vietnamese\r\nThese are primarily intended for use in the US. Other languages and country/region-specific translations are welcome too.\r\n\r\nYou can add languages, and you can modify existing entries of a language already present in the repo. (You cannot add or delete language strings, however.)\r\nChanges are collected into pull requests to the OpenTripPlanner/otp-react-redux and OpenTripPlanner/otp-ui repos for review by their maintainers.\r\n\r\nThe English-US language cannot be changed from Weblate as it is the template file. To request changes, please submit a pull request to the applicable repos above.\r\nOwners of this repo reserve the right to revert/reject translations made using Weblate.\r\n\r\nPlease see the entries that need editing. We are gradually adding screenshots, context information, and constraints regarding the layout in the user interface to facilitate translations. We appreciate your patience and collaboration.",
        "enable_hooks": true,
        "language_aliases": ""
    },
    "vcs": "github",
    "repo": "https://github.com/opentripplanner/otp-ui",
    "git_export": "https://hosted.weblate.org/git/otp-react-redux/otp-ui-trip-details/",
    "branch": "master",
    "push_branch": "",
    "filemask": "packages/trip-details/i18n/*.yml",
    "screenshot_filemask": "",
    "template": "packages/trip-details/i18n/en-US.yml",
    "edit_template": true,
    "intermediate": "",
    "new_base": "",
    "file_format": "yaml",
    "license": "MIT",
    "license_url": "https://spdx.org/licenses/MIT.html",
    "agreement": "",
    "web_url": "https://hosted.weblate.org/projects/otp-react-redux/otp-ui-trip-details/",
    "url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/?format=api",
    "repository_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/repository/?format=api",
    "translations_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/translations/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/statistics/?format=api",
    "lock_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/lock/?format=api",
    "links_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/links/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-details/changes/?format=api",
    "task_url": null,
    "new_lang": "add",
    "language_code_style": "",
    "push": "",
    "check_flags": "placeholders:r\"\\{\\w+\\}\"",
    "priority": 100,
    "enforced_checks": [],
    "restricted": false,
    "repoweb": "",
    "report_source_bugs": "",
    "merge_style": "rebase",
    "commit_message": "fix({{ component_name }}): 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": true,
    "suggestion_voting": false,
    "suggestion_autoaccept": 0,
    "push_on_commit": true,
    "commit_pending_age": 1,
    "auto_lock_error": true,
    "language_regex": "^[^.]+$",
    "variant_regex": "",
    "addons": [
        "https://hosted.weblate.org/api/addons/7412/?format=api"
    ],
    "is_glossary": false,
    "glossary_color": "silver",
    "category": null,
    "linked_component": "https://hosted.weblate.org/api/components/otp-react-redux/otp-ui-trip-form/?format=api"
}