News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Order confirmation email partially in English despite complete translation

Started by sandomatyas, April 11, 2025, 18:48:29 PM

Previous topic - Next topic

sandomatyas

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!

sandomatyas

I noticed that changing $cache = true to false in shopFunctionsF::loadOrderLanguages solves the issue.