Translation components API.

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

GET /api/translations/libgettextdemo/master/pt_BR/
HTTP 200 OK
Allow: GET, DELETE, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "language": {
        "code": "pt_BR",
        "name": "Portuguese (Brazil)",
        "plural": {
            "id": 206,
            "source": 0,
            "number": 2,
            "formula": "n > 1",
            "type": 1
        },
        "aliases": [
            "braz_por",
            "portuguese_br"
        ],
        "direction": "ltr",
        "web_url": "https://l10n.opensuse.org/languages/pt_BR/",
        "url": "https://l10n.opensuse.org/api/languages/pt_BR/",
        "statistics_url": "https://l10n.opensuse.org/api/languages/pt_BR/statistics/"
    },
    "component": {
        "name": "master",
        "slug": "master",
        "id": 10,
        "source_language": {
            "code": "en",
            "name": "English",
            "plural": {
                "id": 72,
                "source": 0,
                "number": 2,
                "formula": "n != 1",
                "type": 1
            },
            "aliases": [
                "en_en",
                "base",
                "source",
                "enp",
                "eng"
            ],
            "direction": "ltr",
            "web_url": "https://l10n.opensuse.org/languages/en/",
            "url": "https://l10n.opensuse.org/api/languages/en/",
            "statistics_url": "https://l10n.opensuse.org/api/languages/en/statistics/"
        },
        "project": {
            "name": "libgettextdemo",
            "slug": "libgettextdemo",
            "id": 2,
            "web": "https://github.com/stanislav-brabec/libgettextdemo",
            "web_url": "https://l10n.opensuse.org/projects/libgettextdemo/",
            "url": "https://l10n.opensuse.org/api/projects/libgettextdemo/",
            "components_list_url": "https://l10n.opensuse.org/api/projects/libgettextdemo/components/",
            "repository_url": "https://l10n.opensuse.org/api/projects/libgettextdemo/repository/",
            "statistics_url": "https://l10n.opensuse.org/api/projects/libgettextdemo/statistics/",
            "changes_list_url": "https://l10n.opensuse.org/api/projects/libgettextdemo/changes/",
            "languages_url": "https://l10n.opensuse.org/api/projects/libgettextdemo/languages/",
            "translation_review": true,
            "source_review": false,
            "set_language_team": true,
            "instructions": "https://github.com/stanislav-brabec/libgettextdemo",
            "enable_hooks": true,
            "language_aliases": ""
        },
        "vcs": "git",
        "repo": "git@github.com:stanislav-brabec/libgettextdemo.git",
        "git_export": "https://l10n.opensuse.org/git/libgettextdemo/master/",
        "branch": "master",
        "push_branch": "",
        "filemask": "po/*.po",
        "template": "",
        "edit_template": true,
        "intermediate": "",
        "new_base": "po/libgettextdemo.pot",
        "file_format": "po",
        "license": "",
        "license_url": null,
        "agreement": "",
        "web_url": "https://l10n.opensuse.org/projects/libgettextdemo/master/",
        "url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/",
        "repository_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/repository/",
        "translations_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/translations/",
        "statistics_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/statistics/",
        "lock_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/lock/",
        "links_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/links/",
        "changes_list_url": "https://l10n.opensuse.org/api/components/libgettextdemo/master/changes/",
        "task_url": null,
        "new_lang": "add",
        "language_code_style": "",
        "push": "git@github.com:stanislav-brabec/libgettextdemo.git",
        "check_flags": "",
        "priority": 100,
        "enforced_checks": [],
        "restricted": false,
        "repoweb": "https://github.com/stanislav-brabec/libgettextdemo/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 }}",
        "allow_translation_propagation": true,
        "manage_units": false,
        "enable_suggestions": true,
        "suggestion_voting": false,
        "suggestion_autoaccept": 0,
        "push_on_commit": true,
        "commit_pending_age": 2,
        "auto_lock_error": true,
        "language_regex": "^[^.]+$",
        "variant_regex": "",
        "addons": [
            "https://l10n.opensuse.org/api/addons/1/"
        ],
        "is_glossary": false,
        "glossary_color": "silver"
    },
    "language_code": "pt_BR",
    "id": 408,
    "filename": "po/pt_BR.po",
    "revision": "97c5c70127b66c675789013edecea4077dab18e9",
    "web_url": "https://l10n.opensuse.org/projects/libgettextdemo/master/pt_BR/",
    "share_url": "https://l10n.opensuse.org/engage/libgettextdemo/pt_BR/",
    "translate_url": "https://l10n.opensuse.org/translate/libgettextdemo/master/pt_BR/",
    "url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/",
    "is_template": false,
    "is_source": false,
    "total": 7,
    "total_words": 16,
    "translated": 7,
    "translated_words": 16,
    "translated_percent": 100.0,
    "fuzzy": 0,
    "fuzzy_words": 0,
    "fuzzy_percent": 0.0,
    "failing_checks": 0,
    "failing_checks_words": 0,
    "failing_checks_percent": 0.0,
    "have_suggestion": 0,
    "have_comment": 0,
    "last_change": "2015-10-10T19:26:32Z",
    "last_author": "Ronan Chagas",
    "repository_url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/repository/",
    "file_url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/file/",
    "statistics_url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/statistics/",
    "changes_list_url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/changes/",
    "units_list_url": "https://l10n.opensuse.org/api/translations/libgettextdemo/master/pt_BR/units/"
}