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

Segment name is not localizable but it works as if it were

    Details

      Description

      • Have a site with some languages enabled, and using en_US as a default language.
      • Create a segment, name it "English". Add some rule, then save. You are taken to the segment list page.
      • Add /es to the URL path to render it in Spanish.
      • Create a segment, name it "Español". Note that the segment creation interface is rendered in Spanish now. Add some rule, then save. You are taken to the segment list page.
      • Add /it to the URL path to render it in Italian
      •  Checkpoint: second segment name is not rendered
      • Create a segment, name it "Italiano". Note that the segment creation interface is rendered in Italian now. Add some rule, then save. You are taken to the segment list page.
      • Now visit that page using different languages

       Observed: it's not possible to see all segment names at once

      • /it language makes the "Español" segment name not to be shown.

      • /es language makes the "Italiano" segment name not to be shown

      • /en language makes the "Italiano" and "Español" segment names not to be shown.

      • In all cases, "English" segment name is shown.
      • It is not possible to select the language when naming a segment

      This also affects experience creation in the display/standard page edition interfaces

       Expected: either all segment names are persisted in some default language or segment names are localized in the UI and proper defaults are rendered when name is not available in a given language.
       
      Tested in master at 6d30aff6c2aebac750c630c0675d00eed025ca97

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  24 weeks, 5 days ago

                  Packages

                  Version Package
                  Master