Insert AI Response in Segment

Follow these steps to insert a translation generated by an AI system into a segment.

About this task

Swordfish generates custom AI prompts that are designed to produce XLIFF <target> elements. The generated results must be parsed and validated before they can be set as a segment translation.
Important
Important
It is not safe to directly paste an AI generated response into a segment's target text box.

Procedure

  1. Copy the result generated by the AI system to the clipboard.
  2. Select the segment that would receive the translation on the Translation Panel.
  3. Select AIInsert AI Reponse in Segment ([Ctrl+Shift+R] on Windows/Linux, [Cmd+Shift+R] on macOS) from the main menu or click the Insert AI Reponse in Segment (Insert AI Response in Segment) button on the main toolbar.

Results

The clipboard text is parsed and validated. If it is a valid <target> element, it is applied to the selected segment.