VirtueMart Forum

VirtueMart 2 + 3 + 4 => Security (https) / Performance / SEO, SEF, URLs => Topic started by: mizu on January 03, 2022, 08:18:07 AM

Title: Registration with Multi Language
Post by: mizu on January 03, 2022, 08:18:07 AM
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.
Title: Re: Registration with Multi Language
Post by: mizu on January 03, 2022, 11:17:19 AM
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.
Title: Re: Registration with Multi Language
Post by: jjk on January 08, 2022, 23:02:00 PM
Question: Do you actually need the Joomla registration form for some reason?
See: https://docs.virtuemart.net/manual/general-concepts/231-redirect-of-joomla-registration-to-virtuemart-registration-1.html (https://docs.virtuemart.net/manual/general-concepts/231-redirect-of-joomla-registration-to-virtuemart-registration-1.html)
Title: Re: Registration with Multi Language
Post by: Studio 42 on January 09, 2022, 14:36:28 PM
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