Author Topic: Hardcoded Language String - Notify Customer  (Read 297 times)

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Hardcoded Language String - Notify Customer
« 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
Code: [Select]
$msg = 'Notify Customer; Could not add user to waiting list';
No pain, no gain, no site!

Venci Gentchev

  • Jr. Member
  • **
  • Posts: 179
    • Bulgarian Computer Store
Re: Hardcoded Language String - Notify Customer
« Reply #1 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
Code: [Select]
vmInfo('COM_VIRTUEMART_REG_COMPLETE');
No pain, no gain, no site!

padalec

  • Jr. Member
  • **
  • Posts: 54
Re: Hardcoded Language String - Notify Customer
« Reply #2 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