Translation components API.

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

GET /api/translations/osmand/main/sr_Latn/?format=api
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "id": 246,
        "code": "sr_Latn",
        "name": "Serbian (latin)",
        "plural": {
            "id": 270,
            "source": 0,
            "number": 3,
            "formula": "n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2",
            "type": 22
        },
        "aliases": [
            "serbo_croatian",
            "sh",
            "sr_latn_rs",
            "sr@latin",
            "sr_rs@latin",
            "srl",
            "hbs"
        ],
        "direction": "ltr",
        "population": 8085593,
        "web_url": "https://hosted.weblate.org/languages/sr_Latn/",
        "url": "https://hosted.weblate.org/api/languages/sr_Latn/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/languages/sr_Latn/statistics/?format=api"
    },
    "component": {
        "name": "Android",
        "slug": "main",
        "id": 41,
        "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": "OsmAnd",
            "slug": "osmand",
            "id": 11,
            "web": "http://www.osmand.net/",
            "web_url": "https://hosted.weblate.org/projects/osmand/",
            "url": "https://hosted.weblate.org/api/projects/osmand/?format=api",
            "components_list_url": "https://hosted.weblate.org/api/projects/osmand/components/?format=api",
            "repository_url": "https://hosted.weblate.org/api/projects/osmand/repository/?format=api",
            "statistics_url": "https://hosted.weblate.org/api/projects/osmand/statistics/?format=api",
            "categories_url": "https://hosted.weblate.org/api/projects/osmand/categories/?format=api",
            "changes_list_url": "https://hosted.weblate.org/api/projects/osmand/changes/?format=api",
            "languages_url": "https://hosted.weblate.org/api/projects/osmand/languages/?format=api",
            "labels_url": "https://hosted.weblate.org/api/projects/osmand/labels/?format=api",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://docs.osmand.net/docs/technical/contributions/translating-osmand#what-languages-will-be-included-in-osmand-",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "https://github.com/osmandapp/Osmand.git",
        "git_export": "https://hosted.weblate.org/git/osmand/main/",
        "branch": "master",
        "push_branch": "",
        "filemask": "OsmAnd/res/values-*/strings.xml",
        "screenshot_filemask": "",
        "template": "OsmAnd/res/values/strings.xml",
        "edit_template": false,
        "intermediate": "",
        "new_base": "",
        "file_format": "aresource",
        "license": "MIT",
        "license_url": "https://spdx.org/licenses/MIT.html",
        "agreement": "",
        "web_url": "https://hosted.weblate.org/projects/osmand/main/",
        "url": "https://hosted.weblate.org/api/components/osmand/main/?format=api",
        "repository_url": "https://hosted.weblate.org/api/components/osmand/main/repository/?format=api",
        "translations_url": "https://hosted.weblate.org/api/components/osmand/main/translations/?format=api",
        "statistics_url": "https://hosted.weblate.org/api/components/osmand/main/statistics/?format=api",
        "lock_url": "https://hosted.weblate.org/api/components/osmand/main/lock/?format=api",
        "links_url": "https://hosted.weblate.org/api/components/osmand/main/links/?format=api",
        "changes_list_url": "https://hosted.weblate.org/api/components/osmand/main/changes/?format=api",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:/osmandapp/Osmand.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/osmandapp/Osmand/blob/{{branch}}/{{filename}}#L{{line}}",
        "report_source_bugs": "",
        "merge_style": "merge",
        "commit_message": "Translated using Weblate ({{ language_name }})\r\n\r\nCurrently translated at {{ stats.translated_percent }}% ({{ stats.translated }} of {{ stats.all }} strings)",
        "add_message": "Added translation using Weblate ({{ language_name }})\n\n",
        "delete_message": "Deleted translation using Weblate ({{ language_name }})\n\n",
        "merge_message": "Merge branch '{{ component_remote_branch }}' into Weblate.\n\n",
        "addon_message": "Update translation files\n\nUpdated by \"{{ hook_name }}\" hook in Weblate.\n\nTranslation: {{ project_name }}/{{ component_name }}\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": false,
        "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",
        "category": null,
        "linked_component": null
    },
    "language_code": "b+sr+Latn",
    "id": 7228,
    "filename": "OsmAnd/res/values-b+sr+Latn/strings.xml",
    "revision": "fbbdd6fe7b8e84a880aa0e6360ff8b8c6b3cd64d,25be0e956ca31600560ac9757099107ceb0703d9",
    "web_url": "https://hosted.weblate.org/projects/osmand/main/sr_Latn/",
    "share_url": "https://hosted.weblate.org/engage/osmand/-/sr_Latn/",
    "translate_url": "https://hosted.weblate.org/translate/osmand/main/sr_Latn/",
    "url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/?format=api",
    "is_template": false,
    "is_source": false,
    "total": 5090,
    "total_words": 25481,
    "translated": 5079,
    "translated_words": 25447,
    "translated_percent": 99.7,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 2,
    "failing_checks_words": 9,
    "failing_checks_percent": 0.1,
    "have_suggestion": 0,
    "have_comment": 8,
    "last_change": "2024-04-26T18:54:46.921466+02:00",
    "last_author": null,
    "repository_url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/repository/?format=api",
    "file_url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/file/?format=api",
    "statistics_url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/statistics/?format=api",
    "changes_list_url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/changes/?format=api",
    "units_list_url": "https://hosted.weblate.org/api/translations/osmand/main/sr_Latn/units/?format=api"
}