For creative website, virtual tours & graphic design
Call us on 01780 740893
How to create language overrides in Virtuemart 2

Out of the box, the Virtuemart ecommerce component for Joomla is rather Americanised in the language it uses. If you wish to change the terms to British standards you’ll need to create overrides for the language files. So if you, for example, want to change “Your Cart” to “Your Basket” or  “Shipping” to ” Delivery”, how do you go about it?

It is actually really simple.

Log into the Joomla admin panel and go to Extensions > Languages

Joomla Language Files

This will bring up the Languages : Overrides. By making your alterations in the overrides section, that means that the changes will not be over-written when you update Virtuemart.

Click on “overrides” on the left-hand side of the screen.

If you wish to change “Cart” to Basket” you will find you have to make changes to several language strings. Click the green “NEW” button at the top-left of your screen.

language strings

A language string is composed of two parts: a specific language constant and its value.

For example, in the string: COM_VIRTUEMART_CART_ADD_TO=”Add to Cart”
COM_VIRTUEMART_CART_ADD_TO‘ is the constant and ‘Add to Cart‘ is the value.
You have to find the specific language constant in order to create an override for the value. The easiest way is to search the value you want to change (in the search field).

Pick “Value” from  the option box and type in say “Cart” (or the value you wish to change). This will bring up all the constants using the value”Cart”


All the constants which include results for that value will be listed beneath the Search section on the right.


Click on the value you would like to change and it will appear in the “Create New Override” section on the left.

Simply change the wording in the “text” box (eg to “Add to Basket”) and click the “Save & Close” and the new wording will automatically be inserted into the form and the change will appear on the front of the website.


You will find that the wording you wish to change may appear in several constants and you will need to tackle each one individually.

Once you save, you will see the list of changes you have made build up. If you change your mind or make a typo, just click on any of the listed constants in order to edit them.

Language Override list