Author Topic: Menu > Product details shows title and description in default language  (Read 800 times)

RIL

  • Beginner
  • *
  • Posts: 4
  • A beginner
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 1448
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Menu > Product details shows title and description in default language
« Reply #1 on: January 29, 2018, 14:07:23 pm »
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.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

RIL

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: Menu > Product details shows title and description in default language
« Reply #2 on: January 29, 2018, 14:14:39 pm »
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

  • Global Moderator
  • Full Member
  • *
  • Posts: 1448
    • Kreativ Fotografi
  • VirtueMart Version: 3.2.12
Re: Menu > Product details shows title and description in default language
« Reply #3 on: January 29, 2018, 14:29:14 pm »
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.8.3
Virtuemart 3.2.12
Olympiantheme Hera (customized)

RIL

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: Menu > Product details shows title and description in default language
« Reply #4 on: January 29, 2018, 14:40:58 pm »
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

  • Jr. Member
  • **
  • Posts: 197
    • Bulgarian Computer Store
Re: Menu > Product details shows title and description in default language
« Reply #5 on: February 01, 2018, 17:43:10 pm »
Hello Rita,

Did you fix the problem?
No pain, no gain, no site!

RIL

  • Beginner
  • *
  • Posts: 4
  • A beginner
Re: Menu > Product details shows title and description in default language
« Reply #6 on: February 01, 2018, 19:45:28 pm »
Hi Venci,
No, the problem is not fixed. Do you have any suggestions?

Thanks for your help
Rita

Ventsi Genchev

  • Jr. Member
  • **
  • Posts: 197
    • Bulgarian Computer Store
Re: Menu > Product details shows title and description in default language
« Reply #7 on: February 02, 2018, 05:35:02 am »
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.
No pain, no gain, no site!