Describe the bug
findPagesByURL always takes care about app()->getLocale() but this always returns 'en'
the getEntitiesByTypeAndLang (from TranslationRepository) is never called for pages for example,
and findByEntityId always returns the first item.
Expected behavior
When default language is 'fr" the page with language 'fr' should be displayed
Describe the bug findPagesByURL always takes care about app()->getLocale() but this always returns 'en' the getEntitiesByTypeAndLang (from TranslationRepository) is never called for pages for example, and findByEntityId always returns the first item.
Expected behavior When default language is 'fr" the page with language 'fr' should be displayed