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

Session extend warning message is in English in Chinese localization

    Details

    • Fix Priority:
      3

      Description

      Description:
      If Chinese localization has been set, and the session is about to expire, a session expiration warning displays on the top right corner. In the Chinese localization, the error message displays in English rather than in Chinese.

      Steps to reproduce:
      1. Forcefully set session timeout to a low value in the web.xml:

      	<session-config>
      		<session-timeout>2</session-timeout>
      		<cookie-config>
      			<http-only>true</http-only>
      		</cookie-config>
      	</session-config>

      I also set session.timeout=2 in portal-ext.properties

      2. Start up the Application Server
      3. Change localization to Chinese (easy way is to append /zh after the hostname - example: http://localhost:8080/zh)
      4. Sign into [email protected]
      5. Wait 2 minutes

      Expected Result:
      Session timeout warning is in Chinese.

      Actual Results:
      Session timeout warning will appear in 2 minutes, but will be in English.

        Attachments

        1. fixed3.png
          fixed3.png
          12 kB
        2. zh.png
          zh.png
          276 kB

          Activity

            People

            Assignee:
            hong.zhao Hong Zhao (Inactive)
            Reporter:
            brian.suh Brian Suh
            Participants of an Issue:
            Recent user:
            Hong Zhao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

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

                Packages

                Version Package
                Master