VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: sandomatyas on April 11, 2025, 18:48:29 PM

Title: Order confirmation email partially in English despite complete translation
Post by: sandomatyas on April 11, 2025, 18:48:29 PM
Hi,

Joomla 3.10.12 + VirtueMart 4.4.6 + latest language files.

I noticed something strange:

Everything on the site is properly translated to the selected language. However, when placing an order, the order confirmation email contains some parts still in English.

For example:

In the product table header → everything is in English except for the product name (COM_VIRTUEMART_PRODUCT_NAME_TITLE), which is translated correctly.

"Order date" is in English.

Customer field labels like "First Name", "Last Name", etc. are in English too.

Everything else in the email is displayed in the correct language.

I checked for example the COM_VIRTUEMART_ORDER_PRINT_SKU constant — it exists in the language file.

When I view the order from the backend or as a customer (browser), everything is translated correctly.

There are no template overrides in components/com_virtuemart/invoice.

Any idea why the email uses English for these parts?

Thanks in advance!
Title: Re: Order confirmation email partially in English despite complete translation
Post by: sandomatyas on April 19, 2025, 08:03:40 AM
I noticed that changing $cache = true to false in shopFunctionsF::loadOrderLanguages solves the issue.
Title: Re: Order confirmation email partially in English despite complete translation
Post by: Jumbo! on April 28, 2025, 19:34:33 PM
You may consider using our VP Email Manager extension to resolve the issue and gain better control over your emails. For more details, visit: https://www.virtueplanet.com/extensions/vp-email-manager.
Title: Re: Order confirmation email partially in English despite complete translation
Post by: sandomatyas on April 29, 2025, 09:45:55 AM
Hi Jumbo!
I have active subscription :) But also looking for VM-related bugs/notices/questions here.