Closed vaishnavi-jadhav-amla closed 8 months ago
@amannn : Experiencing a similar challenge here. Could you kindly provide a solution or suggest any viable alternatives?
Our focus is on developing a multi-tenant application.
I agree there's a piece missing here currently. I've opened https://github.com/amannn/next-intl/issues/653 to collect this issue together with similar ones, also to share solutions that can be used today.
I'll close this now in favor of #653. This issue is mentioned there and will be taken care of.
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