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

Language is not persistent in document portlet

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
    • Component/s: DM
    • Environment:
      LIFERAY VERSION: 6.1 GA 1
      OPERATING SYSTEM: Red Hat
      APPLICATION SERVER: Tomcat 7.0.x
      JAVA VIRTUAL MACHINE: Java 6
      DATABASE: SQL Server 2008

      Description

      In document portlet, even if language is set to norwegian the document count at the bottom of the portlet is displayed in english and says "1 of 1" and "Total 1" if you have 1 document. This can not be updated in the standard property language files.

      Steps to reproduce

      1 - Add a Documents and Media portlet to the page
      2 - Add a file to it
      3 - Either in the control panel or via the url, set the language to something else than English (e.g. Hungarian, Norwegian)
      4 - In Documents and Media Portlet, everything gets translated except "1 of 1" and "Total 1" (and any consequent numbers thereof)

      Additional Information

      Issue present on trunk.

        Attachments

        1. LPS-30846-01.png
          LPS-30846-01.png
          120 kB
        2. LPS-30846-02.png
          LPS-30846-02.png
          75 kB
        3. LPS-30846-03.png
          LPS-30846-03.png
          107 kB

          Issue Links

            Activity

              People

              • Votes:
                1 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  6 years, 39 weeks, 4 days ago

                  Packages

                  Version Package
                  6.1.2 CE GA3
                  6.1.30 EE GA3
                  6.2.0 CE M3