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

              yang.cao Yang Cao
              roberto.diaz Roberto Díaz
              Kiyoshi Lee Kiyoshi Lee
              Roberto Díaz Roberto Díaz
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                2 years, 37 weeks, 5 days ago

                Packages

                  Version Package
                  7.0.0 DXP FP98
                  7.0.X
                  7.1.10 DXP FP22
                  7.1.X
                  7.2.10 DXP FP7
                  7.2.X
                  7.3.3 CE GA4
                  7.3.4 CE GA5
                  7.3.10 DXP GA1
                  Master