You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Sylius\Bundle\LocaleBundle\Context\RequestBasedLocaleContext gets the locale from the _locale request attribute, which is set after the route is matched, since it's a path parameter, therefore it's no available during the route matching.
Because this context does not return a locale, the next context Sylius\Component\Locale\Cont ext\ProviderBasedLocaleContext will return the default one.
The
Sylius\Bundle\LocaleBundle\Context\RequestBasedLocaleContext
gets the locale from the_locale
request attribute, which is set after the route is matched, since it's a path parameter, therefore it's no available during the route matching.Because this context does not return a locale, the next context
Sylius\Component\Locale\Cont ext\ProviderBasedLocaleContext
will return the default one.Temporary solution:
The text was updated successfully, but these errors were encountered: