Yes, i use virtuemart in multi languages.
I want to know, if for every language I can write/set a specific text.
Right now I have an image and it doesn't change for each language.
Can you please help me?
Thanks!
Cheers,
Alberto
The code below will have 4 different results for availability
It tests for availability values of 1,2,3, and 4
THEN it adds a language string
You can do your own language strings inside your language overrides
http://forum.virtuemart.net/index.php?topic=92944.0You can even add an image link inside your language override
<?php if ($this->product->product_availability ==1){
echo JText::_('COM_VIRTUEMART_PRODUCT_AVAIL1');}
elseif ($this->product->product_availability ==2){
echo JText::_('COM_VIRTUEMART_PRODUCT_AVAIL2');}
elseif ($this->product->product_availability ==3){
echo JText::_('COM_VIRTUEMART_PRODUCT_AVAIL3');}
elseif ($this->product->product_availability ==4){
echo JText::_('COM_VIRTUEMART_PRODUCT_AVAIL4');}
?>
let me know if this gets you going in the right direction