VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: pm4698 on November 24, 2021, 08:11:16 AM

Title: Language switcher module and navigation issue
Post by: pm4698 on November 24, 2021, 08:11:16 AM
Hello there.

Using Joomla 3.10.3 VirtueMart 3.8.8 installation. It appears that when I am on a Virtuemart Category/Product if I hover the mouse on the language flags (you know when you hover mouse to a link, link shows up at bottom left as a notice) I see that flag of the language I am on shows the correct URL but the other flag shows the home page. I tried to check to a specific Virtuemart category where in the related menu item of one language I also added association to the other language's item and still the same.

Any ideas?

Thank you in advance
Title: Re: Language switcher module and navigation issue
Post by: Jörgen on November 24, 2021, 08:28:58 AM
Quotebut the other flag shows the home page

What flag ? Not clear enogh show with screenshots.

What language switcher module are you using, sef activated ? etc

Jörgen
Title: Re: Language switcher module and navigation issue
Post by: pm4698 on November 24, 2021, 08:49:21 AM
When I am talking about flags I mean country flags inside the default language switcher module.

As for the language filter plugin:

Language Selection for new Visitors: Site Language
Automatic Language Change: Yes
Associations: Yes
Add Alternate Meta Tags: Yes
Add x-default Meta Tag: Yes
x-default Language: Default front-end
Remove URL Language Code: No
Cookie Lifetime: Session

Notice that my language change module works fine in Joomla articles

Cookie Lifetime

Title: Re: Language switcher module and navigation issue
Post by: GJC Web Design on November 24, 2021, 10:32:57 AM
would be far simpler to supply the live url ..  !!
Title: Re: Language switcher module and navigation issue
Post by: Studio 42 on November 24, 2021, 10:43:12 AM
@pm4698
Do yo use Joomla core language switcher ?
Title: Re: Language switcher module and navigation issue
Post by: pm4698 on November 24, 2021, 10:58:22 AM
Category view: https://cosycorner.gr/index.php/el/paidiko-domatio/kalathia-tsantes-apothikefsis
Product view: https://cosycorner.gr/index.php/el/paidiko-domatio/kalathia-tsantes-apothikefsis/%CF%84%CE%B5%CF%81%CE%AC%CF%83%CF%84%CE%B9%CE%B1-%CF%84%CF%83%CE%AC%CE%BD%CF%84%CE%B1-%CE%B1%CF%80%CE%BF%CE%B8%CE%AE%CE%BA%CE%B5%CF%85%CF%83%CE%B7%CF%82-animal-band-detail

Language switcher is with flags at the top left of the page.
Title: Re: Language switcher module and navigation issue
Post by: Jörgen on November 24, 2021, 11:09:45 AM
No language switcher visible on PC-view. Cramped view switcher but only greek ?

No gr on url ?

What are you switching between ?

Have You read what to do for multilanguage in the language module ?

Jörgen
Title: Re: Language switcher module and navigation issue
Post by: Studio 42 on November 24, 2021, 11:23:39 AM
Check my module https://shop.st42.fr/en/products/multi-language-for-virtuemart.htm
You can switch any categories or product(you do not need to associate categories)
Title: Re: Language switcher module and navigation issue
Post by: GJC Web Design on November 24, 2021, 15:14:14 PM
QuoteNo gr on url ?

it's /el Jörgen
Title: Re: Language switcher module and navigation issue
Post by: Jörgen on November 24, 2021, 15:33:30 PM
Quote from: GJC Web Design on November 24, 2021, 15:14:14 PM
QuoteNo gr on url ?

it's /el Jörgen

Thanks, I missed that, but I do not see any possibility to switch language.

Jörgen
Title: Re: Language switcher module and navigation issue
Post by: GJC Web Design on November 24, 2021, 16:45:02 PM
QuoteThanks, I missed that, but I do not see any possibility to switch language.

It's only on the home page and a very odd dropdown thing ...

I suspect either the products etc aren't translated or the greek has been filled in in the default english .. perhaps .. maybe ..  ;)

though looking now and it looks like its solved

https://cosycorner.gr/index.php/en/gifts-for-all/little-toy-store/0-3-years-old/funny-faces-magnetic-play-set-detail

and btw @ pm4698 -- wihout Patricks (Studio 42)  lang changer when u click Greek when on say https://cosycorner.gr/index.php/en/gifts-for-all/little-toy-store/0-3-years-old/funny-faces-magnetic-play-set-detail it will return to the greek home page unless u manually create every menu and map it to the appropriate other lang one
Title: Re: Language switcher module and navigation issue
Post by: Jörgen on November 24, 2021, 17:33:34 PM
I use Patricks language switcher and I am very pleased with the way it switches languages. The stock Joomla module does return you to the home page instead.

Jörgen @ Kreativ Fotografi