Author Topic: Language override not working in email of updated order  (Read 137 times)

flibakos

  • Beginner
  • *
  • Posts: 1
  • A beginner
Language override not working in email of updated order
« on: June 22, 2018, 10:47:23 am »
We're currently setting up a multilingual (Greek/English) site with VirtueMart 3.2.14.9808 on Joomla! 3.8.8

In Joomla! (Extensions -> Language(s) -> Overrides), the following language overrides have been added:

Code: [Select]
Constant                Text Language Tag Location
----------------------- ---- ------------ --------
COM_VIRTUEMART_MAIL_SKU ISBN el-GR        Site
COM_VIRTUEMART_MAIL_SKU ISBN en-GB        Site

This setup works fine when the initial order confirmation e-mail is sent, i.e. the shopper sees "ISBN" instead of "SKU" in the product list of their order.

However, if we change the order's status in the backend to "Shipped" (or even "Canceled" or "Refunded") and notify the shopper, the e-mail received by the user will display "SKU" instead of the desired "ISBN".

This happens regardless of the site language the user has selected when placing the order.

Has anyone else come across this?

jjk

  • Global Moderator
  • Sr. Member
  • *
  • Posts: 3327
  • using Matomo instead of Google Analytics
Re: Language override not working in email of updated order
« Reply #1 on: June 26, 2018, 09:07:59 am »
This setup works fine when the initial order confirmation e-mail is sent, i.e. the shopper sees "ISBN" instead of "SKU" in the product list of their order.

However, if we change the order's status in the backend to "Shipped" (or even "Canceled" or "Refunded") and notify the shopper, the e-mail received by the user will display "SKU" instead of the desired "ISBN".

Add this to the 'administrator' language override and the 'site' language override:
Code: [Select]
COM_VIRTUEMART_ORDER_PRINT_SKU="ISBN"In your case adding this to the 'site' language override probably makes sense too:
Code: [Select]
COM_VIRTUEMART_CART_SKU="ISBN"

Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations