[SOLVED] how to localize new button in VQMOD
Posted: Thu Jan 10, 2013 5:26 am
Hi,
I'm using a VQMOD Customer Order Print and want to localized the Print button.
In the vqmod the line that added the button is:
I have added a new string in my main languages files :
\www\opencart\catalog\language\english\english.php
\www\opencart\catalog\language\french\french.php
So what should be the new line of code that will replace Print by the language string.
A quick solution for now is to use an icon instead of button but I like to know how to use the language variables correctly.
Thanks
I'm using a VQMOD Customer Order Print and want to localized the Print button.
In the vqmod the line that added the button is:
Code: Select all
<![CDATA[<div class="right"><a href="javascript:printDiv('print');" class="button" />Print</a></div>]]>
\www\opencart\catalog\language\english\english.php
\www\opencart\catalog\language\french\french.php
Code: Select all
$_['button_print] = 'Print';
A quick solution for now is to use an icon instead of button but I like to know how to use the language variables correctly.
Thanks