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

Liferay.Language.get() not working anymore

    Details

    • Type: Bug
    • Status: Closed
    • Resolution: Won't Fix
    • Affects Version/s: 7.3.X, 7.3.3 CE GA4, 7.3.4 CE GA5, 7.3.5 CE GA6, Master
    • Fix Version/s: None
    • Labels:
    • Fix Priority:
      2

      Description

      I was updating some generic Vue.js portlets of our company from Liferay 7.2 to Liferay 7.3 and noticed, that all the Language Keys we have are not translated anymore.

      Steps to reproduce:

      1. Install and start a Liferay 7.3 GA6 environment
      2. Visit the portal in the Browser
      3. Change the current Language to German
      4. Open the console and type in the following statement
      Liferay.Language.get('language')
      

      ("language" is a keyword which is publicly available and should return "Sprache")

      1. The result is "language" instead of "Sprache"

       

      This used to work with Liferay 7.2 and I didn't saw anything related to this in the 7.3 Breaking Changes https://learn.liferay.com/dxp/7.x/en/liferay-internals/reference/7-3-breaking-changes.html

      Is this not supported anymore?

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              antonio.ortega Antonio Ortega
              Reporter:
              jonas.wanner Jonas Wanner
              Participants of an Issue:
              Recent user:
              Daniel Sanz
              Engineering Assignee:
              Antonio Ortega
              Votes:
              2 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

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

                  Packages

                  Version Package