Open ngulden opened 4 years ago
You can use different slugs for different product localization. Click on a translator icon after the "URL Slug" field to edit it. https://doc.oroinc.com/user/back-office/products/products/create-simple/#products-products-create-simple-product
Thanks for the hint. I already tried that and assigned a different URL slug for German. It didn't render the expected result. The content was still controlled by the language switch in the top right corner. I even tried another browser without any cookies from my OroCommerce instance.
I'll give it another try, though, to make sure I didn't miss something.
Now I see what you are talking about. Yes, it always redirects anonymous users to the default language and logged in users to their currently used language.
Summary
I have a catalog with several products. Each product has descriptions in several languages, e.g. in English and German. I want to direct visitors directly to the product page reflecting their language with an appropriate permanent link.
I currently only have one link. It is not determined which language will be presented to me as visitor. My browser
Accept-Language
request header seems not to be evaluated. The only chance I have is to wait for the page to be delivered and switch to my language via the menu. For me as user this is rather inconvenient. Defining a different URL slug for the product in the backend does help either, which I would have at least expected.Example
I have a product at https://shop.example.com/product-category/_item/product-1. The description is in English and German.
I'd like to use a permanent link to the German product description, for example https://shop.example.com/product-category/_item/product-1?language=de_DE
Or English, for example https://shop.example.com/product-category/_item/product-1?language=en_US