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

Map is improperly translated in Japanese localization when creating page based off of Page Fragment

    Details

      Description

      Summary
      When creating page based on Page Fragment in Japanese localization, "Map" is incorrectly translated. Instead of being translated to mapping (connections of an asset in a relational manner) it is translated as map (a diagram that represents areas of land) 地図.

      The reason for this seems to be that it is grabbing the key map from Language_ja.properties.

      While it isn't incorrect for map to be listed as 地図, the page builder needs to include a contextual map for Japanese.

      Steps to Reproduce

      1. Navigate to Product Menu -> Liferay DXP (Site) -> Build -> Page Fragment
      2. Create a collections as "Test"
      3. In the Test collections, create a new fragment and paste code below in HTML, save as Test fragment
        <div class="container-fluid container-fluid-max-xl">
            <div class="row">
                <div class="col-md-8 mx-auto text-center">
                    <div class="container-fluid">
                        <div class="row">
        
                            <div class="col-md-6">
                                <span class="icon-glass"> </span>
                                <h3><lfr-editable id="sixth-header" type="text">TEST</lfr-editable></h3>
                                <p><lfr-editable id="sixth-body" type="text">test</lfr-editable></p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        
      1. Control panel -> Liferay DXP (Site) -> Build > Page -> Display Page tab,
      2. Create a new page, selecting Test fragment in Test collection
      3. Change localization to Japanese (add /ja/ after hostname:port)
      4. Click the editable area that reads "TEST"
      5. Examine the popout

      Actual Result
      You will see 地図 on the left button which translates to "Map" (geographical diagram)

       

      Expected Result
      You will see マッピング on the left button which translates to "Mapping" (relational)

      Reproduced In
      7.1.X Private Commit: 40d9e186b7f81ae2c027e7e89fdb1ad890d6eb9f

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 1 week, 6 days ago

                Packages

                Version Package
                7.1.10 DXP FP3
                7.1.1 CE GA2
                7.1.10.1 SP1
                7.1.X
                Master