Translation Instance
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/test/test-git/en/?format=api
{ "language": { "id": 141, "code": "en", "name": "English", "plural": { "id": 141, "source": 0, "number": 2, "formula": "n != 1", "type": 1 }, "aliases": [ "en_en", "base", "source", "enp", "eng" ], "direction": "ltr", "population": 1636485517, "web_url": "https://translate.harmony.tf/languages/en/", "url": "https://translate.harmony.tf/api/languages/en/?format=api", "statistics_url": "https://translate.harmony.tf/api/languages/en/statistics/?format=api" }, "component": { "name": "Test-git", "slug": "test-git", "id": 3, "source_language": { "id": 141, "code": "en", "name": "English", "plural": { "id": 141, "source": 0, "number": 2, "formula": "n != 1", "type": 1 }, "aliases": [ "en_en", "base", "source", "enp", "eng" ], "direction": "ltr", "population": 1636485517, "web_url": "https://translate.harmony.tf/languages/en/", "url": "https://translate.harmony.tf/api/languages/en/?format=api", "statistics_url": "https://translate.harmony.tf/api/languages/en/statistics/?format=api" }, "project": { "name": "Test", "slug": "test", "id": 2, "web": "https://example.com/", "web_url": "https://translate.harmony.tf/projects/test/", "url": "https://translate.harmony.tf/api/projects/test/?format=api", "components_list_url": "https://translate.harmony.tf/api/projects/test/components/?format=api", "repository_url": "https://translate.harmony.tf/api/projects/test/repository/?format=api", "statistics_url": "https://translate.harmony.tf/api/projects/test/statistics/?format=api", "categories_url": "https://translate.harmony.tf/api/projects/test/categories/?format=api", "changes_list_url": "https://translate.harmony.tf/api/projects/test/changes/?format=api", "languages_url": "https://translate.harmony.tf/api/projects/test/languages/?format=api", "labels_url": "https://translate.harmony.tf/api/projects/test/labels/?format=api", "translation_review": false, "source_review": false, "set_language_team": true, "instructions": "It's just a test", "enable_hooks": true, "language_aliases": "" }, "vcs": "git", "repo": "[email protected]:harmony-tf/translation-test.git", "git_export": "https://translate.harmony.tf/git/test/test-git/", "branch": "master", "push_branch": "", "filemask": "translations_*.yaml", "screenshot_filemask": "", "template": "translations_english.yaml", "edit_template": true, "intermediate": "", "new_base": "translations_english.yaml", "file_format": "yaml", "license": "", "license_url": null, "agreement": "", "web_url": "https://translate.harmony.tf/projects/test/test-git/", "url": "https://translate.harmony.tf/api/components/test/test-git/?format=api", "repository_url": "https://translate.harmony.tf/api/components/test/test-git/repository/?format=api", "translations_url": "https://translate.harmony.tf/api/components/test/test-git/translations/?format=api", "statistics_url": "https://translate.harmony.tf/api/components/test/test-git/statistics/?format=api", "lock_url": "https://translate.harmony.tf/api/components/test/test-git/lock/?format=api", "links_url": "https://translate.harmony.tf/api/components/test/test-git/links/?format=api", "changes_list_url": "https://translate.harmony.tf/api/components/test/test-git/changes/?format=api", "task_url": null, "new_lang": "contact", "language_code_style": "", "push": "[email protected]:harmony-tf/translation-test.git", "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 }}\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\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": [ "https://translate.harmony.tf/api/addons/5/?format=api", "https://translate.harmony.tf/api/addons/6/?format=api", "https://translate.harmony.tf/api/addons/2/?format=api", "https://translate.harmony.tf/api/addons/4/?format=api" ], "is_glossary": false, "glossary_color": "silver", "category": null, "linked_component": null }, "language_code": "en", "id": 3, "filename": "translations_english.yaml", "revision": "118b0ee0d993c6a1fd69dd503007856f91dd6a92,118b0ee0d993c6a1fd69dd503007856f91dd6a92", "web_url": "https://translate.harmony.tf/projects/test/test-git/en/", "share_url": "https://translate.harmony.tf/engage/test/-/en/", "translate_url": "https://translate.harmony.tf/translate/test/test-git/en/", "url": "https://translate.harmony.tf/api/translations/test/test-git/en/?format=api", "is_template": true, "is_source": true, "total": 8, "total_words": 18, "translated": 7, "translated_words": 18, "translated_percent": 87.5, "fuzzy": 0, "fuzzy_words": 0, "fuzzy_percent": 0.0, "failing_checks": 1, "failing_checks_words": 4, "failing_checks_percent": 12.5, "have_suggestion": 1, "have_comment": 0, "last_change": "2022-09-04T22:19:11.671243Z", "last_author": "p0358", "repository_url": "https://translate.harmony.tf/api/translations/test/test-git/en/repository/?format=api", "file_url": "https://translate.harmony.tf/api/translations/test/test-git/en/file/?format=api", "statistics_url": "https://translate.harmony.tf/api/translations/test/test-git/en/statistics/?format=api", "changes_list_url": "https://translate.harmony.tf/api/translations/test/test-git/en/changes/?format=api", "units_list_url": "https://translate.harmony.tf/api/translations/test/test-git/en/units/?format=api" }