VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: JJBW on October 24, 2011, 18:50:51 PM

Title: Language override
Post by: JJBW on October 24, 2011, 18:50:51 PM
Hi everyone!

Sorry if this has been asked before but I want to change some of the wording within the language file, for example, 'Sales Price' to 'Price' without it all being undone with an upgrade.  I can easily change the language file accordingly but I want the changes to remain after an upgrade.  Is there a way to create a template override?

Again, sorry if this has been asked before and I've missed it!

Thanks for your time!
Title: Re: Language override
Post by: PRO on October 24, 2011, 19:01:09 PM
there is an override folder in the language folder for "Language Overrrides" only in J1.7
Title: Re: Language override
Post by: JJBW on October 24, 2011, 19:25:40 PM
Hi, thanks for your reply.

I tried that and it didn't work but I may have done it wrong!  Just to double check, do I make a copy of the original file, modify it and place it in the overrides folder within the language folder?  Do I leave the original unmodified file in place?

Many thanks.
Title: Re: Language override
Post by: PRO on October 24, 2011, 19:35:36 PM
there should be an english file in there.

YOU paste the string in there

for example
COM_VIRTUEMART_CART_QUANTITY="Quantity"
Title: Re: Language override
Post by: JJBW on October 25, 2011, 14:16:02 PM
Many thanks for that, brilliant!

Your help and time is very much appreciated.

Thanks again.