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

Add the option to have locale prefix #320

Open
Chenalejandro opened this issue Oct 24, 2024 · 0 comments
Open

Add the option to have locale prefix #320

Chenalejandro opened this issue Oct 24, 2024 · 0 comments

Comments

@Chenalejandro
Copy link
Contributor

Chenalejandro commented Oct 24, 2024

Currently, we can give the StackProvider a lang prop to set the language. However, there is no i18n routing when navigating, for example, from the sign-in page to the sign-up page.

Check the bottom left corner of the screenshot, where the redirect url does not have the locale prefix
Screenshot from 2024-10-24 19-26-23
Screenshot from 2024-10-24 19-26-07

I'm using next-intl with i18n routing. It would be nice to pass the locale (or whatever it is called) to the StackProvider, so it can add that as a prefix in all routes from the stack handler.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant