Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-158756

Cannot import translation with embedded bpt/ept tags

Details

    Description

      Steps to reproduce

      1. Create a basic web content. Write "<h1>This is html text<h1>" as its body.
      2. Export web content for translation to spanish, using XLIFF 1.2 as output format.
      3. Edit the generated XLIFF file, replacing the target text by "<bpt id="3"><h1></bpt>Este es un texto html<ept id="3"></h1></ept>".
      4. Import the edited XLIFF file.

      Expected result

      • The web content body in es_ES contains "<h1>Este es un texto html</h1>".

      Actual result

      • The web content body in es_ES contains "<p>Este es un texto html<p>" (i.e. original markup was lost).

      Attachments

        Activity

          People

            jeremy.chen Jeremy Chen
            adolfo.perez Adolfo Pérez
            Kiyoshi Lee Kiyoshi Lee
            Adolfo Pérez Adolfo Pérez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 weeks, 4 days ago

              Packages

                Version Package
                7.4.3.35 CE GA35
                7.4.3.36 CE GA36
                Master