I have this folder structure with optional catch-all:
the problem is it doesn’t change the page when the URL is changed like “/” or “/about-us”, it stays on the home page. The localization works, but always home page
I know, why it doesn’t work, but I want the locale part in the URL to be optional like:
/en/page
or /page
, I have the default locale logic and it works fine.