Unit Instance
Units API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/units/23058/?format=api
https://weblate.immersivetranslate.com/api/translations/immersive-translate/extension/arz/?format=api", "source": [ "Subtitle translation instructions:\n\nThe system will send requests to {service} as a user. In the request:\n- {{from}} indicates the source language\n- {{to}} indicates the target language \n- {{text}} indicates the content to be translated, with multiple paragraphs separated by {serviceConfig.translationTextSeparator}\n\nAdvanced customization: For more precise control, you can use the {{yaml}} format. In this case, AI will return results in YAML format, each item must include the {env.imt_sub_trans_field} field (translation field name, default is {env.imt_sub_trans_field}). The original text field name passed to AI by the system is {env.imt_sub_source_field}.\n\nOutput example:\n```\n- id: 1\n {env.imt_sub_source_field}: Source\n {env.imt_sub_trans_field}: Translation\n- id: 2\n {env.imt_sub_source_field}: Source\n {env.imt_sub_trans_field}: Translation\n```" ], "previous_source": "", "target": [ "" ], "id_hash": 5605426200483893843, "content_hash": -2625876024675364704, "location": "", "context": "description.subtitlePrompt", "note": "", "flags": "", "labels": [], "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 614, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 108, "source_unit": "https://weblate.immersivetranslate.com/api/units/652/?format=api", "priority": 100, "id": 23058, "web_url": "https://weblate.immersivetranslate.com/translate/immersive-translate/extension/arz/?checksum=cdca796e36829253", "url": "https://weblate.immersivetranslate.com/api/units/23058/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2025-02-26T19:06:10.204048Z" }{ "translation": "