VirtueMart Forum

VirtueMart 2 + 3 + 4 => Language/Translations => Topic started by: Ventsi Genchev on September 24, 2017, 09:10:34 AM

Title: Hardcoded Language String - Notify Customer
Post by: Ventsi Genchev on September 24, 2017, 09:10:34 AM
There is a language string that can not be translated.

In the file: com_virtuemart/controllers/productdetails.php
$msg = 'Notify Customer; Could not add user to waiting list';
Title: Re: Hardcoded Language String - Notify Customer
Post by: Ventsi Genchev on September 24, 2017, 19:15:30 PM
And another place.
Displays the message according to the store's primary language:

administrator/components/com_virtuemart/models/user.php
vmInfo('COM_VIRTUEMART_REG_COMPLETE');
Title: Re: Hardcoded Language String - Notify Customer
Post by: padalec on October 30, 2017, 13:47:46 PM
Hi,

I have the same issue. I cannot translate this two language string:

COM_VIRTUEMART_REG_COMPLETE
COM_VIRTUEMART_DISPLAYED_NAME

I did the translation overrides and I double checked the translation, but VM still did not want my translations.

Any know issues about this? How can I diagnose the problem?

Joomla 3.8.1
VM  3.2.4
PHP 7.0.24
Title: Re: Hardcoded Language String - Notify Customer
Post by: roman5527 on October 04, 2018, 21:45:40 PM
I have this problem too.

any idea to fix ?

i have joomla 3.8.12 and VM 3.4

thanks
Title: Re: Hardcoded Language String - Notify Customer
Post by: Studio 42 on October 05, 2018, 00:26:07 AM
Does the keys exist in back-end ?
COM_VIRTUEMART_REG_COMPLETE
COM_VIRTUEMART_DISPLAYED_NAME
Virtumeart load some keys from back-end so perhaps, the problem is here.
Another problem can be if the option to show the order in user language is not checked. It's possible that in this case Virtuemart always load default language(i never tested).