News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

VM 2 multilingual problem

Started by mulosmani, July 10, 2012, 08:53:10 AM

Previous topic - Next topic

mulosmani

Hello all.I have a problem with multilingual setup. I have configured the joomla core with the two languages needed and its working fine, but when i go to shop in any category the url changes from "http://www.***.al/new/sq/dyqani/ipad-sq/ipad-2-sq" to "http://www.***.al/new/sq/shop/ipad-sq/ipad-2-sq"
Can anyone help me please?

jjk

I didn't see any link with the word ..."dyqani"... - I always saw "shop". Perhaps you forgot to translate the "Shop" menu item into Albanian. Also the language switcher isn't visible in your shop.
Perhaps you missed one of the settings described here:
http://forum.virtuemart.net/index.php?topic=104901.0
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mulosmani

Thank you very much for replying. the menu Shop is translated in Albanian,the language switcher is not visible,i have created a link for albanian home and english home in the logo image. All the site is running ok with translation except the shop menu as i told.the link for home shop is ok"http://www.istream.al/new/sq/dyqani" but when i navigate to a category or product it changes to "http://www.istream.al/new/sq/shop/***"

jjk

Now I can see "dyqani" in your menu, but it looks to me like you didn't set the Joomla menu items correctly. Make shure that you have one albanian menu item for each english menu item and check if each language tag is set correctly in the menu configuration. Also, each albanian language VM2 category requires an english VM2 category.
You may also check if the selected 'parent menu' is the same in both languages.

And don't forget to select a category from the 'Select a Category' dropdown list in the Joomla menu configuration - 'Required Settings' and use 'Menu Item Associations'
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mulosmani

all you said are set ok.All menus are on tow languages with different alias and set to appropriate language,all VM categories are translated to 'en' and 'sq' from the dropdown language selector, menu association.Activated it and still same problem.if you can i will give you access to back-end.

jjk

I'm pretty busy with my own work at the moment :-) (I should work instead of answering forum questions)
...but looking at the source code of your site, there are a few problems visisble:
In the links below from your shop, there is no "en" language tag, which VM2 probably requires to switch category language. (Might be a Joomla 2.5.x configuration setting: Plug-in Manager: System - Language Filter: Remove URL Language Code - should be set to "No")

...istream.al/new/shop-en
...istream.al/new/sq/dyqani

...istream.al/new/shop-en/accessories-en
...istream.al/new/sq/shop/aksesore

Also, you are using a LOF javascript menu, which probably prevents the language switcher from working correctly. Looks to me like that one is not multilanguage compatible. I use a standard Joomla menu, which works.

First you can try to disable 'Using the VirtueMart jQuery' in VM2 configuration.
If that doesn't help, find out if it works with a standard Joomla template
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mulosmani

Thank you for replying and sorry for taking your time. I have tried changing the template, changing the menu, disabling 'remove URL Language Code', disabling 'Using the VirtueMart jQuery'(had problem when did this) but the resuls are the same  :( . Please help me. i think its a virtuemart problem and not a menu, because the link with 'shop' and not 'dyqani' comes up either when i click any category icon.

jjk

#7
I don't think that VM2 the source of your language problem, because it works for many others incuding my own site. It could be a misconfiguration of Joomla, which you can compare to this tutorial http://help.joomla.org/files/EN-GB_multilang_tutorial.pdf. Especially use the language check description, starting on page 40.

But I think it is more likely that some of your additional exentions are causing javascript conflicts. Rokbox, IceCart, MaxiMenu, Gantry, etc. all of them can create javascript conflicts.
So my suggestion would be, to set up a local test shop on your own computer using only xampp (http://www.apachefriends.org/en/xampp.html), Joomla 2.6 and VM 2.0.8 with no other extensions installed. After your multilanguage setup works perfectly, then you can try to add other extensions one after another, so you can see which one causes problems.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

mulosmani

#8
Hehe  :-[. Stupid thing. Solved  :P. i had created same menus to 'Main Menu ALL', disabled 'Shop menu' and now its ok.Sorry for all and thank you for all.