Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom folder structure #650

Closed
vaishnavi-jadhav-amla opened this issue Nov 21, 2023 · 3 comments
Closed

custom folder structure #650

vaishnavi-jadhav-amla opened this issue Nov 21, 2023 · 3 comments
Labels
enhancement New feature or request has-workaround

Comments

@vaishnavi-jadhav-amla
Copy link

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

image

Mandatory reproduction URL (CodeSandbox or GitHub repository)

NA

Reproduction description

Steps to reproduce:

  1. Open reproduction
  2. Click on …
  3. See error: …

Expected behaviour

it should redirect along with custom folders

@vaishnavi-jadhav-amla vaishnavi-jadhav-amla added bug Something isn't working unconfirmed Needs triage. labels Nov 21, 2023
@upardhi
Copy link

upardhi commented Nov 22, 2023

@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.

@amannn
Copy link
Owner

amannn commented Nov 22, 2023

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.

@amannn amannn added enhancement New feature or request has-workaround and removed bug Something isn't working unconfirmed Needs triage. labels Nov 23, 2023
@amannn
Copy link
Owner

amannn commented Mar 28, 2024

I'll close this now in favor of #653. This issue is mentioned there and will be taken care of.

@amannn amannn closed this as completed Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request has-workaround
Projects
None yet
Development

No branches or pull requests

3 participants