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

Web Content localization does not work correctly when adding a translation

    Details

      Description

      Steps to reproduce:
      1. Navigate to Control Panel > Web Content > Structures > Add Structure
      2. Click Launch Editor and enter in
      <root> \n\n <dynamic-element name='page-name' type='text'></dynamic-element> \n\n <dynamic-element name='page-description' type='text'></dynamic-element> \n\n</root>
      3. Click Update
      4. Assert page-name and page-description
      5. Click Save
      6. Navigate to Control Panel > Web Content > Templates > Add Template
      7. Select structure from Step 1
      8. Upload LocalizedTemplate.html script (see attachments)
      9. Click Save
      10. Navigate to Control Panel > Web Content > Add > Test Structure from Step 1
      11. Enter in title and flag all checkboxes
      12. Click Save as Draft
      13. Click Add Translation and select Chinese (China)

      You will notice that page-name and page-description do not appear. (See screenshots)

        Attachments

        1. localized.PNG
          localized.PNG
          112 kB
        2. localizedbad.PNG
          localizedbad.PNG
          124 kB

          Issue Links

            Activity

              People

              Assignee:
              luyang.tan Luyang Tan (Inactive)
              Reporter:
              robert.srisamang Robert Srisam-ang (Inactive)
              Participants of an Issue:
              Recent user:
              Marta Elicegui
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                9 years, 6 weeks, 2 days ago

                  Packages

                  Version Package
                  6.0.X EE
                  6.1.1 CE GA2
                  6.1.20 EE GA2
                  --Sprint 11/12
                  6.2.0 CE M2