简体   繁体   中英

Magento: translations in emails template not working

It seems to be translation in Abandoned Cart Emails (Template master) is not working.

  1. When I try to add product to cart, I have special rule, which sends email to user.

  2. In template of this email I have like this:

{{block type="tm_abandoned/checkout_cart_totals" quote="$quote" history="$history" template="tm/abandoned/email/items/totals.phtml"}}

  1. Template totals.phtml call rewrited renderTotals() .
  2. In English version - all OK, I see english words in totals block,which is OK.

  3. But in German version I see English version again, despite of this de_DE locale is there and translation's csv is provided.

No idea what I'm doing wrong.

CSV Translation will not work for email templates. Just copy all of the email templates from en_us to your locale (de_DE) then translate templates as per your needs. Also keep in mind that dynamic variable which are coming from php code will automatically be translated by csv. Thanks.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM