Where is the language file to changing text in a template

Please post your issues and questions about One Page Checkout for Virtuemart 2 to this forum.

Where is the language file to changing text in a template

Postby pgregg@.....com » Thu Jul 05, 2012 8:18 pm

Hello. I'm using OPC 2.0.67 and a modified 3-column template.

Above the customer comments box, I get the following text, "Please write your recommendation....(min. %s, max. %s characters):".

I want to change this. What file do I need to edit and where is it located.

Thank you!

Preston
pgregg@.....com
 
Posts: 5
Joined: Thu Apr 05, 2012 10:50 pm

Re: Where is the language file to changing text in a template

Postby admin » Tue Jul 10, 2012 10:36 pm

Hello Preston, i am sorry for a later response. You don't really need to change the language file, but we'd rather recommend to have a look on your

/components/com_onepage/themes/ YOUR THEME/onepage.unlogged (and logged).tpl.php

please see this section:

$comment = JText::_('COM_VIRTUEMART_COMMENT_CART');
if ($comment == 'COM_VIRTUEMART_COMMENT_CART')
$comment = JText::_('COM_VIRTUEMART_COMMENT');
echo $comment;

The reason why we decided to use it this way is that VM2.0.8 changed some of the checkout language variables - therefore if you are using language file for vm2.0.8, but still running an older VM (or vice versa), you can encounter this issue.

You can edit the
/languages/en-GB/en-GB.com_virtuemart.ini

to set COM_VIRTUEMART_COMMENT_CART to the proper value.

Best Regards,
Stan
admin
Site Admin
 
Posts: 2708
Joined: Wed Jan 06, 2010 11:43 pm


Return to One Page Checkout for Virtuemart 2