Konfigurieren von XLIFF-Dateitypen

Konfigurieren Sie die XLIFF-Dateitypeinstellungen, um anzupassen, wie mit dem OASIS-Standard XLIFF (XML Localisation Interchange File Format) Version 1.1 oder 1.2 kompatible Dokumente bei der Übersetzung oder Überprüfung verarbeitet werden.

Prozedur

  1. Decide for which projects you want to configure file type settings:
    • For the active project, go to the Projects view, and on the Home tab, select Project Settings.
    • For all future projects, go to File > Options.
  2. Erweitern Sie die Liste Dateitypen und wählen Sie XLIFF aus.
  3. Wählen Sie die Seite Einstellungen aus und legen Sie das Verhalten des XLIFF-Dateityps fest:
    • Wählen Sie „trans-unit“-Segmente mit dem translate='no'-Attribut als gesperrt anzeigen aus, um „trans-unit“-Segmente, bei denen das Attribut „translate“ auf „no“ gesetzt ist, als gesperrten Inhalt anzuzeigen. Wenn die Option deaktiviert ist, werden diese Segmente ignoriert.
    • Wählen Sie Informationen zur Segmentierung nicht in der übersetzten Datei speichern aus, wenn Sie die in Trados Studio übersetzte *.xliff-Datei in einer Anwendung verwenden, die keine *.xliff-Dateien mit Segmentierungsstrukturen unterstützt. Der *.xliff-Standard legt eine Elementstruktur fest, die Informationen über die Segmentierung des übersetzbaren Inhalts anzeigt. Diese Struktur wird automatisch hinzugefügt, wenn SDL Trados Studio das *.xliff-Dokument erstellt.
    • Wählen Sie Führende/abschließende Tags in Segmenten einbeziehen, um Tags in den Segmentinhalt einzubeziehen.
    • Wählen Sie Optionen für den Tag-Text für XLIFF-Dateien aus:
      • Standard: Für die folgenden Elemente wird der Anzeigetext aus dem aktuellen Wert der Inline-Elemente extrahiert:
        bpt
        ept
        it
        Für die folgenden Elemente wird der Anzeigetext vom ctype-Attribut extrahiert oder, falls dieses nicht existiert, vom equiv-text-Attribut.
        gx
        bx
        ex
        Wenn die Attribute nicht existieren, wird der Anzeigetext auf den Elementnamen gesetzt.
      • „equiv-text“-Attribut: Der Anzeigetext des Tags wird aus dem Inhalt des Attributs equiv-text des Inline-Elements extrahiert. Wenn das Attribut equiv-text nicht existiert, wird der Anzeigetext auf den Elementnamen gesetzt.
      • Die Option Tag-Inhalt wird nur auf gepaarte Inline-Elemente wie z. B. ph angewendet. Der Anzeigetext des Inline-Tags wird aus dem Wert des Tag-Paars extrahiert. Wenn der Textwert nicht existiert oder das Tag nicht gepaart ist, wird der Anzeigetext auf den Elementnamen gesetzt.
      • Wählen Sie zunächst Textlänge anzeigen aus und dann die Länge, auf die der Anzeigetext für die Inline-Tags gekürzt wird.
  4. Select the Segment status mapping page and specify the available settings:
    • Under File opening:, create correspondences between the XLIFF status: and the Studio status: columns, by choosing values from the lists, for each column.
    • Under File saving:, create correspondences between the Studio status: and the XLIFF status: columns, by choosing values from the lists, for each column.
    • Under Segment locking, select the checkboxes corresponding to the segment status which triggers a lock operation.
    • Under State-qualifiers select:
      • Map state-qualifier attribute values when reading file to create correspondence between segment states in Studio Editor.
      • Map state-qualifier attribute values when writing file to create correspondence between segment states in target file.
  5. Select the Whitespace page, to specify how SDL Trados Studio deals with whitespace characters (spaces, non-breaking spaces, tabs, line breaks) in the elements of an XML file. Under Whitespace in content, choose one of the options:
    • Select Always preserve, so that SDL Trados Studio does not replace any whitespace found in the XML element with a single space.
    • Select Normalize unless xml:space='preserve', so that SDL Trados Studio replaces only the whitespace which is not tagged with the attribute xml:space='preserve'.
    • Select Always normalize, so that SDL Trados Studio replaces any whitespace found in the XML element with a single space, ignoring any xml:space='preserve' attribute.
  6. Wählen Sie die Seite Schemavalidierung aus und geben Sie die Validierungsoptionen für *.xliff-Dateien an.
  7. Select the QuickInsert page.
  8. Specify QuickInsert settings to insert tags and formatting, or to insert text and special characters.
  9. Select the Embedded content page.
  10. Select Enable embedded content processing.
  11. In the Document structure information area, select Add to create extraction rules based on document structure information.
  12. In the Tag definition rules area, select Add to specify the tags which will be processed and to define them as translatable or non-translatable.
  13. Wählen Sie OK aus.