Skip to content

Add switch language in homepage #1429

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

Closed
DEL-TRONIK opened this issue Sep 14, 2023 · 1 comment
Closed

Add switch language in homepage #1429

DEL-TRONIK opened this issue Sep 14, 2023 · 1 comment

Comments

@DEL-TRONIK
Copy link

If the header is displayed in the default homepage, the path for the default language in the language switcher doesn't work and returns / instead of /en.

@smnandre
Copy link
Member

I'd say this is the expected behaviour.

The RedirectToPreferredLocaleSubscriber is, in that case, responsible to.... redirect the requests to the URL matching the user's preferred locale (which could totally be "english")

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

Successfully merging a pull request may close this issue.

2 participants