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
Need to use localization for a custom path. I am working on a multi-tenant application using pathname as domainName/customfolder/{locale}/product/id. Currently, if we use nextintl middleware this does not work and leads to a page not found issue as middleware tries to bind the locale just after the domain name.
I have attached the screenshot for reference
Mandatory reproduction URL (CodeSandbox or GitHub repository)
NA
Reproduction description
Steps to reproduce:
Open reproduction
Click on …
See error: …
Expected behaviour
it should redirect along with custom folders
The text was updated successfully, but these errors were encountered:
I agree there's a piece missing here currently. I've opened #653 to collect this issue together with similar ones, also to share solutions that can be used today.
Description
Need to use localization for a custom path. I am working on a multi-tenant application using pathname as domainName/customfolder/{locale}/product/id. Currently, if we use nextintl middleware this does not work and leads to a page not found issue as middleware tries to bind the locale just after the domain name.
I have attached the screenshot for reference
Mandatory reproduction URL (CodeSandbox or GitHub repository)
NA
Reproduction description
Steps to reproduce:
Expected behaviour
it should redirect along with custom folders
The text was updated successfully, but these errors were encountered: