News:

Looking for documentation? Take a look on our wiki

Main Menu

Some Language Overrides stopped working after update to VM 3.2.2

Started by betterlead, June 17, 2017, 11:09:01 AM

Previous topic - Next topic

betterlead

Hi, since I updated from VM 3.0.19 to latest VM 3.2.2, I noticed that some of my language overrides for confirmation Emails to "Vendor" are not working any longer. I have tried to find any possible new Language Constants for this, but I failed. I searched among Constants and also Values like "Confirmed".
I mostly use English in backend/Admin and  also Swedish, sometimes. My shop is in Swedish and I have also installed the sv-SE language file.

Can anybody give me a hint?
Cheers.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

K&K media production


betterlead

Hi,

Thanks, could you please be a bit more specific? I'm not quite sure what you mean.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

K&K media production

look inside your template overrides for all things like

JText::_ ('COM_VIRTUEMART');

and replace it with

vmText::_ ('COM_VIRTUEMART');

betterlead

Sorry, I can't find anything like it. I understand there should be, but I can't.

So, you also mean that overriding these language files aren't possible to do from the standard "Extension ->Language(s)->overrides"?
I now need to dig in the codes/files?

Thanks
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

K&K media production

QuoteI now need to dig in the codes/files?

Yes these can you find inside your template overrides, not in your language overrides.


Do you have a commercial template or the default template? Link to your page?

jjk

Hi,
also check if there are any escapes for double quotes "_QQ_" in your language files and overrides. The latest Joomla version doesn't like that anymore. Each "_QQ_" should be replaced by a single quote '.
Eventually download and install the latest sv-SE language files from virtuemart.net.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

betterlead

Hi again

Ok, I found the file, K&K ( https://livingstudio.se )

Thanks jjk. Long time no hear... I'll give it a try.

Btw, it's not a big deal for me, when "vendor" confirmation text is in English, since it's my own site. It was mostly out of curiosity.
Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26

K&K media production

OK it's a commercial template with overrides.

So search all JText and replace it with vmText inside

templates/your_template/html/com_virtuemart and subfolder files

or ask your template developer to update the template

betterlead

Live site runs on Joomla 3.9.24 & VM 3.8.6 10373

PHP: 7.3.26