News:

Support the VirtueMart project and become a member

Main Menu

Change language on a VM Page - change not correct - go to home page

Started by mediakrt, February 27, 2024, 09:57:17 AM

Previous topic - Next topic

mediakrt

Hello, I have a problem with VM 4 and Joomla 4 multilingual website. The language change works in Joomla but not in Virtuemart pages. The switch in VM always goes to the home page. Idea?

https://www.buerli.swiss/de/spielwelten/spielgeraete/rutschbahn

Roderic

You will need the VM Language module, which you will get when you are a subscriber. What will also work, when you create menu items for every category in every available language and connect them to each other. Will still not work for product-detail, for that you will need the Module I mentioned.

mediakrt

Thanks for your answer. I am now a member. Where can I find the Laguage module?

Roderic

Under My orders/downloads
Then look for:
Download link for: mods_virtuemart_languages_vendor_extract_first.zip

mediakrt

Thanks, I downloaded and installed it. Positioned in the footer for testing. But unfortunately the same result!
https://www.buerli.swiss/de/spielwelten/spielgeraete/rutschbahn

I also deactivated the language module in the top area so that it doesn't overload. Unfortunately also without success!

Roderic

For every VM Category menu item you created in language A. You will also have to create one in Language B,C,D. And then connect those with each other under Associations

Is
/de/spielwelten/spielgeraete/rutschbahn
associated with
/en/playworlds/playground-equipment/slides
and
/it/mondi-dei-giochi/attrezzatura-del-parco-giochi/scivolo
and
/fr/univers-de-jeu/equipement-de-l-aire-de-jeux/toboggan
?

If there is NO menu item for a certain VM category, in any language. The VM language module will be able to connect the corresponding VM Categories with each other. But I think the "problem" in your case is, that you created menu items for every category but didn't associate them with each other.

mediakrt

Thank's but this works only on category not on detail page.

Roderic

That's where the VM Module comes into play. If you have linked the categories, it should work for the product detail as well. Can't test it anymore as you've disabled the module?

mediakrt

Hi Roderic

Thanks for your support. I linked the categories now it works with the new modul: mod_virtuemart_languages.

mediakrt

Hi Roderic

Unfortunately, I now have even more problems with the search module. The search does not work in the category overview.
https://www.buerli.swiss/de/spielwelten
or https://www.buerli.swiss/de/parkmobiliar
Serach for "40280".

And I also have an error when there is no entry in the search window and search is pressed!

Does anyone have an idea where the error is?