Uploaded image for project: 'eZ Publish / Platform'
  1. eZ Publish / Platform
  2. EZP-24857

Adding por-PT siteaccess on eZ Platform frontend won't change the locale to pt

    Details

      Description

      If I go into pagelayout.html.twig and comment the top menu

                  {#{ render(
                      controller(
                          "eZDemoBundle:Menu:topMenu",
                          {'currentLocationId': currentLocation is defined ? currentLocation.id : null}
                      )
                  ) }#}
      

      that throws and error due to EZP-24856 when I access the por-PT siteaccess the locale keeps on en_GB instead of changing to pt_PT

        Issue Links

          Activity

          Hide
          Bertrand Dunogier added a comment -

          What error does it throw ?
          And in regards to the bug related to the por-PT siteaccess, I have asked in the other bug if you have actually created the language.

          P.S. stacktrace, please.

          Show
          Bertrand Dunogier added a comment - What error does it throw ? And in regards to the bug related to the por-PT siteaccess, I have asked in the other bug if you have actually created the language. P.S. stacktrace, please.
          Hide
          Pedro Resende (Inactive) added a comment -

          Bertrand Dunogier: The stack trace is the same of EZP-24856

          An exception has been thrown during the rendering of a template ("Could not find 'Language' with identifier 'por-PT'") in eZDemoBundle::pagelayout.html.twig at line 39.
          

          Show
          Pedro Resende (Inactive) added a comment - Bertrand Dunogier : The stack trace is the same of EZP-24856 An exception has been thrown during the rendering of a template ("Could not find 'Language' with identifier 'por-PT'") in eZDemoBundle::pagelayout.html.twig at line 39.
          Hide
          Paulo Nunes (Inactive) added a comment -

          Closed due same reason as EZP-24856

          Show
          Paulo Nunes (Inactive) added a comment - Closed due same reason as EZP-24856

            People

            • Assignee:
              Unassigned
              Reporter:
              Pedro Resende (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: