Uploaded image for project: 'Content Translation Extended (CTX)'
  1. Content Translation Extended (CTX)
  2. EXCONTRANS-364

Empty properties makes XLIFF translation to be fulfilled with default Locale values

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 3.4.3
    • 3.4.2
    • None
    • None

    Description

      Steps to reproduce

      1. Create a component on a Page which has i18n fields, e.g, a TextAndImage component
      2. At the Headline Text (or any other i18n field) fulfill something in english
      3. Check at JCR that only default property has value (field_DE or whatever doesn't even exist) 
      4. Go to Translation Extended and translate it as XLIFF
      5. Check that at the trans-unit the target has the same value than in English (when it should be empty)

      Expected results

      The target tag exists, but it is empty

      Actual results

      The target tag has the same value than the fallback

      Workaround

      N/A

      Development notes

      The XLIFF I got:

      myXLIFF.xml
      <trans-unit extradata="2022.01.12 16:47:53 471" id="33a14dc7-427e-4d18-9e45-16d127ef955b:headline.i18n." resname="Text and image: Headline">
      <source xml:lang="en">Headline English</source>
      <target xml:lang="de">Headline English</target>
      <note>http://localhost:8080/magnoliaAuthor/fallback/tagSelector.html</note>
      </trans-unit>
      

      The XLIFF the CORE (NO CTSX) returns:

      core-XLIFF.xml
      <trans-unit extradata="2022.01.12 16:47:53 471" id="33a14dc7-427e-4d18-9e45-16d127ef955b:headline.i18n." resname="Text and image: Headline">
      <source xml:lang="en">Headline English</source>
      <target xml:lang="de"/>
      <note>http://localhost:8080/magnoliaAuthor/fallback/tagSelector.html</note>
      </trans-unit>
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                tmiyar Teresa Miyar
                ccantalapiedra Carlos Cantalapiedra
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD