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

Message Boards email notifications are not displaying localized translation templates

    Details

    • Fix Priority:
      3

      Description

      Steps to reproduce:

      1. Add the following properties to portal-ext:
        message.boards.email.bulk=false
        message.boards.message.formats.default=html
        pop.server.notifications.enabled=truepop.server.subdomain=
        
        mail.session.mail.pop3.host=pop.gmail.com
        mail.session.mail.pop3.password=
        mail.session.mail.pop3.port=995
        mail.session.mail.pop3.user=
        
        mail.session.mail.smtp.auth=truemail.session.mail.smtp.host=smtp.gmail.com
        mail.session.mail.smtp.password=
        mail.session.mail.smtp.port=465
        mail.session.mail.smtp.user=
        
        mail.session.mail.store.protocol=pop3
        mail.session.mail.transport.protocol=smtp
        
        
      1. Start up portal and login as Test (User 1)
      2. Navigate to Content > Message Boards > Configuration > Message Added Email and modify the Subject and Body to the following:
        English:
        Subject: [$CATEGORY_NAME$] English
        Body: [$CATEGORY_NAME$] English
        Japanese:
        Subject: [$CATEGORY_NAME$] 日本語
        Body: [$CATEGORY_NAME$] 日本語
      3. Navigate to Account Settings and use a valid email as email address
      4. Set default language for User 1 as English
      5. Navigate to Virtual Instances and edit Mail Domain to be gmail.com
      6. Add a user (User 2) with a valid email address
      7. Set default language of User 2 to 日本語 (日本)
      8. As User 1, navigate to the page and add a Message Boards portlet and Language Selector portlet
      9. Subscribe to the Message Boards with both Users
      10. As User 1, set the language in Language Selector to Japanese and add a new thread

      Expected result:
      Expected each user to receive emails with the following content:
      User 1: Home - Liferay English
      User 2: ホーム - Liferay 日本語

      Actual result: 
      Each user received emails with the following content:
      User 1: ホーム - Liferay 日本語
      User 2: ホーム - Liferay 日本語

      Reproduced on:
      Tomcat 9.0.6 + MySQL 5.7
      Portal master GIT ID: 1b2003392d7795f38ab4daf4c1805d7b7561f760

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              timothy.pak Timothy Pak
              Reporter:
              timothy.pak Timothy Pak
              Participants of an Issue:
              Recent user:
              Michael Saechang
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                3 years, 36 weeks, 3 days ago

                  Packages

                  Version Package
                  7.1.0 Beta 1