News:

Support the VirtueMart project and become a member

Main Menu

Registration with Multi Language

Started by mizu, January 03, 2022, 08:18:07 AM

Previous topic - Next topic

mizu

VirtueMart 3.8.9 10473
Joomla! 3.10.4
Multi language site, en/kr
Main language kr


Problem with VM Framework Loader Plugin and second language (en).
Plugin has highest order of system plugins after 'System - Language Filter' and 'System - Language Code'.

Sign-up in Login-module points to: index.php?option=com_users&view=registration

SEF off, plugin Registration Redirect activated.
Sign-up link opens: index.php?option=com_virtuemart&view=user&lang=en - the registration is Korean (!)

plugin Registration Redirect de-activated.
Sign-up link opens: index.php?option=com_virtuemart&view=user&lang=en - the registration is English. All good.

SEF on, the plugin fails.

plugin Registration Redirect activated.
Sign-up link opens: component/virtuemart/user?Itemid=0  site language is ko, main menu disappeared

plugin Registration Redirect de-activated
Sign-up link opens: component/virtuemart/user?Itemid=0  site language is ko, main menu disappeared


All works if I add the Joomla registration to main menu.

How to fix that?

solved.
I figured that 'user edit address' is actually the vm registration.

mizu

I managed to get a slightly better result.
In Language Filter - Remove URL Language Code = NO
Now the registration form appears according to language, w/o SEF.

But one problem remains, the main menu doesn't show in both languages.
This happens when pages are not associated. But I wouldn't know how to associate the user registration pages.
Headache.

jjk

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

Studio 42

You have to declare 3 home pages in Joomla to do it work
The default page(never used) , en and kr
Use 2 main menus : one for en and one for kr
I know that it"s not mandatory, but you get never troubles using this method