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

Error in translation related with ADTs and themes

    Details

      Description

      Steps to reproduce:

      1. In system settings disable autogenerate key in DDMTemplates
      2. Create a new Widget Template for language selector template
        1. Create it with PLANTILLA_UNO as template key
        2. this is the content of the template:
          1. <div><@liferay.language key="back" /></div>
      3. Save it
      4. Add a language selector in the page and change the lang to spanish.
      5. The language selector will show "Atrás"
      6. Create a new theme(I've attach a theme provided by the customer that could help in this step):
        1. In the portal_normal.ftl embed the language portlet with the ADT
           <@liferay_ui["language"]
      ddmTemplateKey="PLANTILLA_UNO"
      ddmTemplateGroupId=themeDisplay.getScopeGroupId()
      displayCurrentLocale=false
      />
      

       

      1. Change the theme of the page:

       

      Expected: Both portlets show the same message (atras)

      Current: One shows the "atras" message but the other one shows "back"

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                yang.cao Yang Cao
                Reporter:
                roberto.diaz Roberto Díaz
                Participants of an Issue:
                Recent user:
                Clarissa Velazquez
                Engineering Assignee:
                Roberto Díaz
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  5 weeks, 5 days ago

                  Packages

                  Version Package
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.3 CE GA4
                  Master