News:

Support the VirtueMart project and become a member

Main Menu

Menu > Product details shows title and description in default language

Started by RIL, January 29, 2018, 11:29:18 AM

Previous topic - Next topic

RIL

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

Thanks Rita

Joomla version 3.8.3 and virtuemart version 3.2.12

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

RIL

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/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

Jörgen

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
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

RIL

I have now added this product to the menu with the product details layout and the same error occurs.

https://retrokeramik.dk/en/teneralidbowl00001

I have added the SKU number as URL to avoid special characters in order to test this as well.

Ventsi Genchev

Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English

RIL

Hi Venci,
No, the problem is not fixed. Do you have any suggestions?

Thanks for your help
Rita

Ventsi Genchev

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.
Audio Store:
https://vsystem.bg - Bulgarian language
https://vsystem.bg/en - English