Author Topic: Multilingual: wrong language for variants  (Read 205 times)

Mister Paul

  • Jr. Member
  • **
  • Posts: 211
  • Joomla! 3.9.6 - VirtueMart 3.4.2
Multilingual: wrong language for variants
« on: August 27, 2019, 18:20:12 pm »
Hi,

I have a multilingual site and shop.
Default language is French. UK as second language.

I have products with child products.
So for each product (1 father + children) I selected UK in the scroll down menu and edited the name in Virtuemart (I gave an English name).

- if I consult the father's page in UK: it's fine. Also if I click on the French flag of the Joomla Switch language module, I get redirected fine to the French father's page. And vice versa.
- BUT if I choose a variant from a UK page, the child title is in French. AND a click on the French flag of the Joomla Switch language module redirects me to the Home Page...

For what I see, it seems to be an old bug (?):
https://forum.virtuemart.net/index.php?topic=135381.0

Thanks for your help
Paul

Mister Paul

  • Jr. Member
  • **
  • Posts: 211
  • Joomla! 3.9.6 - VirtueMart 3.4.2
Re: Multilingual: wrong language for variants
« Reply #1 on: September 04, 2019, 11:47:49 am »
Nobody saw this problem?
 :-\

StefanSTS

  • Global Moderator
  • Jr. Member
  • *
  • Posts: 417
  • VirtueMart Version: VM 4.2 on Joomla 4.5
Re: Multilingual: wrong language for variants
« Reply #2 on: September 04, 2019, 13:57:30 pm »
The Joomla languages switcher can only switch from one menu item that is connected with another menu item in a different language.

If you have a menu item for the parent product, switching between the languages should be possible.

I have a menu item for the category so I see the parent product and have to select it. Everything inside is translated properly in each language.

So you might have a problem in your language setup.
Unfortunately you do not give a lot of information like screenshot of the product and language configuration and a link to the site, so it is very difficult to help. That's also why probably noone has answered yet.

Regards
Stefan

PS. This is also important: http://forum.virtuemart.net/index.php?topic=79800.0
--
Stefan Schumacher
www.jooglies.com - VirtueMart Invoice Layouts

Please use only stable versions with even numbers for your life shop! Use Alpha versions only if you know what risk you are taking.

Mister Paul

  • Jr. Member
  • **
  • Posts: 211
  • Joomla! 3.9.6 - VirtueMart 3.4.2
Re: Multilingual: wrong language for variants
« Reply #3 on: September 04, 2019, 18:08:02 pm »
Oops... sorry it's my fault, but it's tricky:
I did translate the product name for UK. But I didn't save the product before swithing to the French language in the Virtuemart scroll down menu.

I only saved the product after all modifications were made, UK + Fr. But in fact only the modifications in the current selected language are kept! So the UK modifications were lost. That's why I didn't see them.

Now it's OK.
 ;)