News:

Looking for documentation? Take a look on our wiki

Main Menu

A multilingual problem I can't solve

Started by sangiorgese, May 09, 2012, 19:36:44 PM

Previous topic - Next topic

sangiorgese

Hi everybody!
I followed similar steps to the ones jjk suggests in this post http://forum.virtuemart.net/index.php?topic=101280.msg335702#msg335702 and everything works *almost* well.  There is a little problem I can't solve: when I land in a product description page in a language, I would like to ckick the flag of other language and obtain the description in that language (like I do changing manually the url sufix '...&lang=xx').  Joomla sends me back to Default Layout of Virtuemart instead.

I'm using Joomla 2.5.4 and Virtuemart 2.0.6 and this is the link of my page:

http://www.brunotocci.com/mv_mayo/

Thanks for your attention.

Bruno Tocci

jjk

Switching languages between product detail views doesn't work, because the Joomla language switcher is relying on menu items. As a result. when you change languages, Joomla switches back to the next level for which it finds menu entries. In case of VM2 that's usually the product category view. (It probably would work if you give every product its own menu item, but this makes sense only if you have very few products)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

tonis

It would be great if someone could find a colution for this .... because in most eshop its not possible to make a menu item for every shop item ... this would be an "Icing on the cake"  ;)

AulickAmber

#3
I don't think what you are asking for will really work well, and the reason behind this is that if you give every product its own menu the site would be full of menus and very distracting and congested for the users. So you should skip this idea for benefit of both the users and the owners.

replacement windows

jjk

If you have only a small number of procducts, you could try if it works when you assign each product to hidden language specific Joomla menus and associate the menu links. (I didn't test this myself)
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations