Author Topic: Change language of shop by user - "Flag-type" links on homepage  (Read 2720 times)

aalves8

  • Beginner
  • *
  • Posts: 4
Change language of shop by user - "Flag-type" links on homepage
« on: September 13, 2012, 16:12:08 pm »
Hi there.

I have worked with virtuemart 1.1, but this is my first attempt with the new version... I am running VM 2.0.2 (because of a template i bought) and joomla 2.5.6.

I never worked with a VM multilanguage project. I have installed the PT-PT language pack, and also the default EN-GB. When i change the language in "Extension" -> "Language Manager" the frontend changes language as it should. But what i really need is to provide a "flag-type" link on the header, to enable the shop user to change the language...

This will display the Portuguese and GB flags, and the user will click it, refresh the page, and magic happens.

What variable(s) should i be messing with? I'm familiar with PHP, so i just need some pointers...

Help!

Best Regards,

Alexandre Alves

ivus

  • Full Member
  • ***
  • Posts: 534
  • - YAY me... proud member of the 500 club...
Re: Change language of shop by user - "Flag-type" links on homepage
« Reply #1 on: September 13, 2012, 17:54:01 pm »
Hi aalves8,

This may be of some help : https://forum.virtuemart.net/index.php?topic=105535.0
according to ngockhoavo... it's HOT HOT HOT

aalves8

  • Beginner
  • *
  • Posts: 4
Re: Change language of shop by user - "Flag-type" links on homepage
« Reply #2 on: September 13, 2012, 18:15:35 pm »
Thank you ivus.

on this step:

4- Enable plugin language switcher (in here, turn Menu association ->on) -> Where can i find Menu association to turn on???

also the drop-box is displaying in the homepage, but it does not display the languages names...


And also... When i go and create a new menu, the only language available there is GB. PT is not showing...

I have both installed in joomla and VM.

Can anyone help?

Thanks

ivus

  • Full Member
  • ***
  • Posts: 534
  • - YAY me... proud member of the 500 club...
Re: Change language of shop by user - "Flag-type" links on homepage
« Reply #3 on: September 13, 2012, 18:18:26 pm »
Sorry aalves8,

I don't use multilanguage... perhaps ask on the other topic.

Good luck.

katika555

  • Beginner
  • *
  • Posts: 1
Re: Change language of shop by user - "Flag-type" links on homepage
« Reply #4 on: September 18, 2012, 17:18:40 pm »
4- Enable plugin language switcher (in here, turn Menu association ->on) -> Where can i find Menu association to turn on???

go to Plug-in Manager: System - Language Filter -> Basic Options (on right panel) Menu associations,


but, how make virtuemart categorizes and products associations?