Closed
Description
Description
Go on a page with a local that is not the default locale.
The Link href is not respecting setting 'as-needed' from middleware and therefore is displaying the local prefix from the default local.
Mandatory reproduction URL (CodeSandbox or GitHub repository)
Reproduction description
Steps to reproduce:
- Click on "de" link
- check the link for "en" link
- See displayed href is '/en/about' instead of '/about'
Expected behaviour
Whatever the current local is, the Link href should not display the local prefix with 'as-needed' middleware.