Hi,
I have searched for this topic but haven't been able to find an answer yet.
I have a multiple language website where Danish is the default language and English is the second. Everything works with language switcher except when I use the menu item "Product details layout".
The problem occurs in frontend in product details view when I switch from Danish to English. It switches to an English view of the same product but the product title and description are in Danish and everything else - userdefined fields, menus, constants - are in English.
Any ideas how I can fix this?
https://retrokeramik.dk/punchbowl00002 (https://retrokeramik.dk/punchbowl00002)
Thanks Rita
Joomla version 3.8.3 and virtuemart version 3.2.12
Are You sure You have created this content in Danish also ? Mål: is also in Danish, together with image descriptions.
regards
Jörgen @ Kreativ Fotografi
Yes, the product has both Danish and English translations.
Here is an example of a product without product details layout where translations are fine:
https://retrokeramik.dk/keramik/sk%C3%A5le/laagkrukke-fra-1966erne-432-3162-berte-jessen-aluminia-detail
(https://retrokeramik.dk/keramik/sk%C3%A5le/laagkrukke-fra-1966erne-432-3162-berte-jessen-aluminia-detail)
https://retrokeramik.dk/en/keramik/bowl/laagkrukke-fra-1966erne-432-3162-berte-jessen-aluminia-detail (https://retrokeramik.dk/en/keramik/bowl/laagkrukke-fra-1966erne-432-3162-berte-jessen-aluminia-detail)
So I think it has something to do with the product details layout.
Rita
How do you come to these pages, I can not switch language between these two? Come Always to default starting page.
This is another Product, does the other Product work with these views ?
Maybe it has something to do with danish characters in the alias / Product name ?
regards
Jörgen @ Kreativ Fotografi
I have now added this product to the menu with the product details layout and the same error occurs.
https://retrokeramik.dk/en/teneralidbowl00001 (https://retrokeramik.dk/en/teneralidbowl00001)
I have added the SKU number as URL to avoid special characters in order to test this as well.
Hello Rita,
Did you fix the problem?
Hi Venci,
No, the problem is not fixed. Do you have any suggestions?
Thanks for your help
Rita
Yes, I have a suggestion. :)
Search anywhere in the template (/templates/theme643/html/) as well as in the modules and plugins that the template has added the following:
onAfterInitialise
and replace it with:
onAfterRoute
Test one by one and see if the problem will be solved. I suppose that some plug-in creates this problem.