Author Topic: Language Switcher bug?  (Read 2522 times)

2cool

  • Jr. Member
  • **
  • Posts: 247
Language Switcher bug?
« on: May 22, 2015, 14:41:06 pm »
Hi,
got my store set but noticed something strange;

If in Language Switcher the active language is set to 'YES' both languages are visible.
But virtuemart category page doesn't switch 'at once' but after 2 clicks???

If in Language Switcher active language is set to 'NO' it works fine?

Could anyone explain what happens an how to fix!

Thanks and regards,

Pascal

ps. joomla pages switch ok with both settings.

setting: Joomla! 3.4.1 / VirtueMart 3.0.8 / Dutch + German languages active

grupposis

  • Beginner
  • *
  • Posts: 14
  • A beginner
Re: Language Switcher bug?
« Reply #1 on: May 26, 2015, 12:05:43 pm »
Same problem for me! Any solution?

grupposis

  • Beginner
  • *
  • Posts: 14
  • A beginner
Re: Language Switcher bug?
« Reply #2 on: May 26, 2015, 12:30:31 pm »
I solved with this:

I replaced the joomla 3.4.1 /plugins/system/languagefilter with the joomla 3.3.6 version and this particular issue was resolved.

2cool

  • Jr. Member
  • **
  • Posts: 247
Re: Language Switcher bug?
« Reply #3 on: May 26, 2015, 13:22:20 pm »
Wow, thanks works great!
Any idea what's causing this and if this will be fixed at next update?


jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3700
  • using Matomo instead of Google Analytics
Re: Language Switcher bug?
« Reply #4 on: May 28, 2015, 21:33:08 pm »
Any idea what's causing this and if this will be fixed at next update?
The problem with the new Joomla router is that if there is no itemId given, it uses the homepage Itemid as fallback.
The popup uses the last used itemId, which works well in j2.5, but not in j3.4.1

There will be a fix for it in VM 3.0.10. With that the popup keeps the currently used language when 'Language Javascript Fix' is enabled in VM Configuration > Checkout tab (just tested successfully).

But don't forget to revert your 'hack' (using the Joomla 3.3.6 version of languagefilter.php)!!!
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations