My e-shop has two languages (English and Chinese) and I use language override in Virtuemart to display the order status (i.e. in order status is named as "COM_VIRTUEMART_ORDER_STATUS_XXXX" and it is translated to the corresponding order status in the language override file.) and it works fine in the Virtuemart orders.
For example, for the confirmed order, its order status in the database is "COM_VIRTUEMART_ORDER_STATUS_CONFIRMED". In en-GB.override.ini file (the English language override file), "COM_VIRTUEMART_ORDER_STATUS_CONFIRMED" is translated as "Confirmed". Hence, the order status will be shown as "Confirmed" in English.
in VM Invoice: Invoice / Order Management, the order status is shown as "COM_VIRTUEMART_ORDER_STATUS_CONFIRMED" rather than the translated word "Confirmed". I have checked the program code and suspected that the following code in 'administrator/components/com_vminvoice/views/invoices/tmpl/default.php' may be amended for the translated.
Code to be amended :
<?php echo JHTML::_('select.genericlist', $this->statuses, 'filter_order_status[]', 'multiple="multiple" size="5"', 'id', 'name', JRequest::getVar('filter_order_status',array())); ?>
However, since I am not familiarize with the php coding, would you please advise how this coding should be amended in order to show the translated word.
Many thanks.