frontends icon indicating copy to clipboard operation
frontends copied to clipboard

Language switch should handle sub pages correctly

Open AlexBa opened this issue 9 months ago • 1 comments

Describe the feature

Switching the language on sub pages (e.g. categories or products) should redirect to the same sub page in the chosen language.

Description

It looks like the language switch does not redirect the correct sub page correctly, when switching the language on a sub page (e.g. category or product pages). You get redirected to the homepage in the correct language.

Acceptance Criteria

  • Visit https://frontends-demo.vercel.app/Cooking-pleasure-Provence/
  • Change language to German
  • The redirect should change the URL to https://demo-frontends.shopware.store/de-De/Cooking-pleasure-Provence/ , not to https://demo-frontends.shopware.store/de-De/

The logic should be the same as the regular Shopware Storefront implementation: https://shopware-6-demo.shop-studio.io/Clothing/

Additional information

  • [ ] Would you be willing to help implement this feature?

Checks

AlexBa avatar Mar 12 '25 15:03 AlexBa

Backend https://github.com/shopware/shopware/issues/12424

mdanilowicz avatar Sep 10 '25 09:09 mdanilowicz