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

Message Boards Email Notifications are not displaying localized translations for site names

    Details

      Description

      Issue
      Message Boards Email Notifications are not displaying localized translations for site names

       

      Steps to reproduce

      1. In portal-ext.properties, set following:

      message.boards.email.bulk=false
      

      2. Sign in to Liferay
      3. Add two new users

      screen name: jsmith
      email address: jsmith@liferay.com
      language: English
      last name: Smith
      first name: John
      
      screen name: hmurakami
      email address: hmurakami@liferay.com
      language: 日本語 (Japanese)
      last name: 村上
      first name: 春樹
      

      4. Create a new blank site with the following site names (set for different localizations)
          English Localization: Andromeda
          Japanese Localization: アンドロメダ
      5. Add both users as site members for that site
      6. Go to Contents > Message Boards
      7. From the options menu select "Configuration"
      8. Switch to "Message Added Email" tab
      9. Set the following body template in English localization

          [$MESSAGE_USER_NAME$] has posted a new thread in [$SITE_NAME$]'s Message Boards.

      10. Set the following body template in Japanese localization

          [$MESSAGE_USER_NAME$]が[$SITE_NAME$]の掲示板に新規スレッドを投稿しました。

      11. Create a new public widget page (1-column)
      12. Go to that page and add the message board
      13. Add Message Boards widget to page
      14. Login as jsmith
      15. Navigate to Andromeda site
      16. Note locale is English
      17. Subscribe to Message Boards
      18. On a different browser, login as hmurakami
      19. Navigate to アンドロメダ site
      20. Note locale is Japanese
      21. Subscribe to Message Boards
      22. Create a new thread (still with hmurakami), with any title/content
      23. Note that 2 emails are sent with following results:

      To: hmurakami

      村上 春樹がアンドロメダの掲示板に新規スレッドを投稿しました。

      To: jsmith

      村上 春樹 has posted a new thread in アンドロメダ's Message Boards.

      Expected Result: The site name should be Andromeda for jsmith.
      Actual Result: The site name is アンドロメダ for jsmith.

      24. From jsmith, post another thread
      25. Note that 2 emails are sent with following results:

      To: jsmith

      John Smith has posted a new thread in Andromeda's Message Boards.

      To: hmurakami**

      John SmithがAndromedaの掲示板に新規スレッドを投稿しました。

      Expected Result: The site name should be アンドロメダ for hmurakami.
      Actual Result: The site name is Andromeda for hmurakami.

       

      Actual results
      Liferay is not correctly  displaying localized translations for site names.

      Expected results
      Japanese user receives email with Japanese template and Japanese site name.
      English user receives email with English template and English site name.

       

      Master: 2b5700b727b47a1349366c61c29780daaff67cde

        Attachments

          Activity

            People

            • Assignee:
              yvonne.han Yvonne Han
              Reporter:
              il.kim Brian I. Kim
              Participants of an Issue:
              Recent user:
              Clarissa Velazquez
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

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

                Packages

                Version Package
                7.0.0 DXP FP82
                7.0.X
                7.1.3 CE GA4
                7.1.10 DXP FP11
                7.1.X
                Master