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

Site default locale is not returned when user specifies an unavailable locale

    Details

      Description

      Site default locale is not returned when user specifies a locale in the URL that is not available for that site.

      Reproduction steps:
      1. Add the following property to the portal-ext:
      locales.enabled=ca_ES,zh_CN,en_US,fi_FI,fr_FR,de_DE,iw_IL,hu_HU,ja_JP,pt_BR,es_ES,en_GB
      2. Go to Admin > Site Administration / Configuration > Display Settings
      3. Choose the option "Define a custom default language and additional available languages for this site. ", German as default language, and set German and English (UK) as your current languages, move every other language to the Available section
      4. Go to: http://localhost:8080/pt

      Expected behaviour: Page presented in German (Site default language)

      Observed behaviour: Page is displayed in English (UK)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              support-lep@liferay.com SE Support
              Reporter:
              filipe.afonso Filipe Afonso
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                5 years, 18 weeks, 4 days ago

                  Packages

                  Version Package