Author Topic: VM_LANG -- how to create an instance of this class?  (Read 1186 times)

Mister Paul

  • Jr. Member
  • **
  • Posts: 279
  • Joomla! 3.9.6 - VirtueMart 3.4.2
VM_LANG -- how to create an instance of this class?
« on: January 20, 2011, 13:50:27 pm »
Hi,

I need to create some translations for product types parameter.
I tried to use it by this code :
echo $VM_LANG->_('VM_MY_NEW_VALUE');
but it doesn't work : blank page...

Someone told me :
Quote
VM_LANG -- is a class, and you need to create an instance of class first, to use that method
But unfortunately I don't know how to do that...
What should I do ?

Thanks for your help !
 ;)