0
votes

As i understood most of language files are in /languages and /administrator/languages, but i cannot find few lines of text in those files for Virtuemart2. Please help me locate those.

Here is the pic of what i need to translate to another language. Sorry the text there is in Russian. This is a part of the page which is output by order_done.php layout of virtuemart2 views, this is the line that outputs the three lines of code I underlined.

echo $this->html;

in a view.html.php I found how html property is formed

private function lOrderDone() {
        $html = JRequest::getVar('html', JText::_('COM_VIRTUEMART_ORDER_PROCESSED'), 'default', 'STRING', JREQUEST_ALLOWRAW);
        $this->assignRef('html', $html);

        //Show Thank you page or error due payment plugins like paypal express
    }

But i cannot find where exatctly all the text is formed, so that i can see which constants to search. Maybe someone knows? Beforehand thanks!

1

1 Answers

0
votes

Probably you are looking for this file:

language\en-GB\en-GB.com_virtuemart.ini

Line 282

COM_VIRTUEMART_ORDER_PROCESSED="Your order has been processed."

Note: For RU you need to download the language file for virtuemart.

Update:

All language files related with virtuemart (en-GB example)

-Backoffice

administrator\language\en-GB\en-GB.com_virtuemart.ini
administrator\language\en-GB\en-GB.com_virtuemart.menu.ini
administrator\language\en-GB\en-GB.com_virtuemart.sys.ini
administrator\language\en-GB\en-GB.com_virtuemart_countries.ini
administrator\language\en-GB\en-GB.com_virtuemart_media.ini

-Frontoffice

language\en-GB\en-GB.com_virtuemart.ini
language\en-GB\en-GB.com_virtuemart.sef.ini
language\en-GB\en-GB.com_virtuemart.sys.ini
language\en-GB\en-GB.mod_virtuemart_product.ini