What are VirtueMart language files?
VirtueMart language files are text files included with VirtueMart that help you change the language your store uses. Language files have a .ini extension, and they include predefined terms. For example, let's look at the following file:
COM_VIRTUEMART_CART_ADD_TO="Add to Cart"
COM_VIRTUEMART_CART_CHECKOUT_DATA_NOT_VALID="Invalid data entered"
COM_VIRTUEMART_CART_CHECKOUT_DONE_CONFIRM_ORDER="Checkout done, please confirm the order"
COM_VIRTUEMART_CART_DELETE="Delete Product From Cart"
VirtueMart uses these values to turn a standard page into English. For example, whenever COM_VIRTUEMART_CART_ADD_TO is listed in a template file, VirtueMart replaces it with "Add to Cart". This concept allows you to easily run VirtueMart under a different langauge. If you wanted to run a Spanish VirtueMart store, VirtueMart would instead load the following file with the following values:
COM_VIRTUEMART_CART_ADD_TO="Agregar a carro"
COM_VIRTUEMART_CART_CHECKOUT_DONE_CONFIRM_ORDER="Compra realizada, Por favor confirme el pedido"
COM_VIRTUEMART_CART_DELETE="Borrar producto de carro"
Based on this file, instead of showing "Add to Cart", the Spanish version of VirtueMart will say "Agregar a carro".
If you'd like to change which language VirtueMart uses, read our tutorial on how to change your VirtueMart store language.
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
Post a Comment
Do you want to publish a tutorial to our support center?