Translation components API.

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

GET /api/translations/linphone/linphone-android/es/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "es",
        "name": "Spanish",
        "plural": {
            "id": 95,
            "source": 0,
            "number": 2,
            "formula": "n != 1",
            "type": 1
        },
        "aliases": [
            "spanish",
            "spa"
        ],
        "direction": "ltr",
        "web_url": "https://weblate.linphone.org/languages/es/",
        "url": "https://weblate.linphone.org/api/languages/es/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/languages/es/statistics/?format=api"
    },
    "component": {
        "name": "Linphone Android (5.2)",
        "slug": "linphone-android",
        "id": 2,
        "project": {
            "name": "Linphone",
            "slug": "linphone",
            "id": 2,
            "web": "https://linphone.org",
            "source_language": {
                "code": "en",
                "name": "English",
                "plural": {
                    "id": 82,
                    "source": 0,
                    "number": 2,
                    "formula": "n != 1",
                    "type": 1
                },
                "aliases": [
                    "english",
                    "en_en",
                    "base",
                    "source",
                    "eng"
                ],
                "direction": "ltr",
                "web_url": "https://weblate.linphone.org/languages/en/",
                "url": "https://weblate.linphone.org/api/languages/en/?format=api",
                "statistics_url": "https://weblate.linphone.org/api/languages/en/statistics/?format=api"
            },
            "web_url": "https://weblate.linphone.org/projects/linphone/",
            "url": "https://weblate.linphone.org/api/projects/linphone/?format=api",
            "components_list_url": "https://weblate.linphone.org/api/projects/linphone/components/?format=api",
            "repository_url": "https://weblate.linphone.org/api/projects/linphone/repository/?format=api",
            "statistics_url": "https://weblate.linphone.org/api/projects/linphone/statistics/?format=api",
            "changes_list_url": "https://weblate.linphone.org/api/projects/linphone/changes/?format=api",
            "languages_url": "https://weblate.linphone.org/api/projects/linphone/languages/?format=api"
        },
        "vcs": "git",
        "repo": "https://gitlab.linphone.org/BC/public/linphone-android.git",
        "git_export": "https://weblate.linphone.org/git/linphone/linphone-android/",
        "branch": "release/5.2",
        "push_branch": "weblate/translations_updated_5.2",
        "filemask": "app/src/main/res/values-*/strings.xml",
        "template": "app/src/main/res/values/strings.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "proprietary",
        "license_url": null,
        "agreement": "Belledonne Communications, SARL Contributor Agreement\r\n\r\nThese terms apply to your contribution of materials to a product or project owned or managed by us ('project'), \r\nand set out the intellectual propertyrights you grant to us(Belledonne Communications, SARL) in the contributed materials.\r\nIf this contribution is on behalf of a company, the term 'you' will alsomean the company you identify below. \r\nIf you agree to be bound by these terms, fill in the information requested below and provide your signature.Read this agreement carefully before signing.\r\n\r\n1. The term 'contribution' means any source code, object code, patch, tool, sample, graphic, specification, manual, documentation, or any othermaterial posted or submitted byyou to a project.\r\n\r\n2. With respect to any worldwide copyrights, or copyright applications and registrations, in your contribution:\r\n\r\n    - you hereby assign to us joint ownership, and to the extent that such assignment is or becomes invalid, ineffective or unenforceable, you hereby grant to us a perpetual, irrevocable, non-exclusive, worldwide, no-charge, royalty-free, unrestricted license to exercise all rights under those copyrights. This includes, at our option, the right to sublicense these same rights to third parties through multiple levels of sublicensees or other licensing arrangements;\r\n\r\n    - you agree that each of us can do all things in relation to your contribution as if each of us were the sole owners, and if one of us makes a derivative work of your contribution, the one who makes the derivative work (or has it made) will be the sole owner of that derivative work;\r\n\r\n    - you agree that you will not assert any moral rights in your contribution against us, our licensees or transferees;\r\n\r\n    - you agree that we may register a copyright in your contribution and exercise all ownership rights associated with it; and\r\n\r\n    - you agree that neither of us has any duty to consult with, obtain the consent of, pay or render an accounting to the other for any use or distribution of your contribution\r\n\r\n3. With respect to any patents you own, or that you can license without payment to any third party, you hereby grant to us a perpetual, irrevocable, non-exclusive, worldwide, no-charge, royalty-free license to:\r\n\r\n    - make, have made, use, sell, offer to sell, import, and otherwise transfer your contribution in whole or in part, alone or in combination with or included in any product, work or materials arising out of the project to which your contribution was submitted, and\r\n\r\n    - at our option, to sublicense these same rights to third parties through multiple levels of sublicensees or other licensing arrangements.\r\n\r\n4. Except as set out above, you keep all right, title, and interest in your contribution.\r\nThe rights that you grant to us under these terms are effective on the date you first submitted a contribution to us, even if your submission took place before the date you sign these terms. \r\nAny contribution we make available under any license will also be made available undera suitable FSF (Free Software Foundation) or OSI (Open Source Initiative) approved license.\r\n\r\n5. With respect to your contribution, you represent that:\r\n\r\n    - it is an original work and that you can legally grant the rights set out in these terms;\r\n\r\n    - it does not to the best of your knowledge violate any third party's copyrights, trademarks, patents, or other intellectual property rights; and\r\n\r\n    - you are authorized to sign this contract on behalf of your company (if identified below).\r\n\r\n6. These terms will be governed by the laws of France.\r\nAny choice of law rules will not apply.",
        "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android/",
        "url": "https://weblate.linphone.org/api/components/linphone/linphone-android/?format=api",
        "repository_url": "https://weblate.linphone.org/api/components/linphone/linphone-android/repository/?format=api",
        "translations_url": "https://weblate.linphone.org/api/components/linphone/linphone-android/translations/?format=api",
        "statistics_url": "https://weblate.linphone.org/api/components/linphone/linphone-android/statistics/?format=api",
        "lock_url": "https://weblate.linphone.org/api/components/linphone/linphone-android/lock/?format=api",
        "changes_list_url": "https://weblate.linphone.org/api/components/linphone/linphone-android/changes/?format=api",
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@gitlab.linphone.org:BC/public/linphone-android.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": "",
        "restricted": false,
        "repoweb": "https://gitlab.linphone.org/BC/public/linphone-android/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "linphone-android@belledonne-communications.com",
        "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 }}",
        "allow_translation_propagation": true,
        "enable_suggestions": false,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": false,
        "commit_pending_age": 43800,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": ""
    },
    "language_code": "es",
    "id": 44,
    "filename": "app/src/main/res/values-es/strings.xml",
    "revision": "45649a14c176065ccf17ef61c9314ae9768c119e,c21b13a673e8ab2693c765bfb6234b1a490ad875",
    "web_url": "https://weblate.linphone.org/projects/linphone/linphone-android/es/",
    "share_url": "https://weblate.linphone.org/engage/linphone/es/",
    "translate_url": "https://weblate.linphone.org/translate/linphone/linphone-android/es/",
    "url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 840,
    "total_words": 3197,
    "translated": 593,
    "translated_words": 2224,
    "translated_percent": 70.5,
    "fuzzy": 5,
    "fuzzy_words": 23,
    "fuzzy_percent": 0.5,
    "failing_checks": 16,
    "failing_checks_words": 83,
    "failing_checks_percent": 1.9,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2023-12-02T20:08:47.315015Z",
    "last_author": "Mauricio Campo",
    "repository_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/repository/?format=api",
    "file_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/file/?format=api",
    "statistics_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/statistics/?format=api",
    "changes_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/changes/?format=api",
    "units_list_url": "https://weblate.linphone.org/api/translations/linphone/linphone-android/es/units/?format=api"
}