Uploaded image for project: 'translate5'
  1. translate5
  2. TRANSLATE-2584

Across XLF with translate now may contain invalid segmented content

    XMLWordPrintable

Details

    • Medium
    • Across XLF may contain invalid segmented content for not translatable (not editable) segments. This is fixed by using the not segment content in that case.

    Description

       

      Problem

      Across XLF may contain such content

            <trans-unit id="327" translate="no" ax:state-name="KeepSource" ax:state-id="1" ax:state-flags="1024">
              <source>Satz eins. Satz zwei.</source>
              <seg-source><mrk mtype="seg" mid="1">Satz eins.</mrk> <mrk mtype="seg" mid="2">Satz zwei.</mrk></seg-source>
              <target>Satz eins. Satz zwei.</target>
            </trans-unit>
      

      This produces an error in translate5 since non translatable segments are still shown in translate5 and therefore the segmentation is wrong in this context.

      solution

      Desired solution depending on the effort: translate="no" segments should be imported in a way, so that it works, and should not be exported on export.

      Attachments

        Issue Links

          Activity

            People

              tlauria Thomas Lauria
              tlauria Thomas Lauria
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: