1

How can I translate my transaction E-Mails. At my Template, I have this

{{layout handle="sales_email_order_items" order=$order}}

And on my german shop the 'Sku' should be 'Artikelnummer' or 'Object' -> 'Artikel' I tried to add the words in my translate.csv like this

"Mage_Sales:Item","Artikel"
"Mage_Sales:Sku","Artikelnr."

But it doesn't work. Anyone an idea? Thanks.

3 Answers 3

4

Try like this (double '::' between the module and the text):

"Mage_Sales::Item","Artikel"
"Mage_Sales::Sku","Artikelnr."

Also you can place this inside Mage_Sales.csv

"Item","Artikel"
"Sku","Artikelnr."
3
  • I want to change it in my own theme, because of magento core updates. all of my translations are in "app/design/frontend/mytheme/locale/translate.csv" Sep 18, 2013 at 15:23
  • The Magento core does not include the de_DE locale folder, so you can safely modify any files in there.
    – Marius
    Sep 18, 2013 at 15:41
  • Ok, I made the Translation at app/locale/de_DE/Mage_Sales.csv. Thank you, I'll test it. Sep 18, 2013 at 15:59
0

Did you add the translations in app/locale/de_DE/Mage_Sales.csv?

1
  • No I have ONE file in app/design/frontend/mytheme/locale/translate.csv There are all of my own translations, like "Mage_Customer::Login or Create an Account", "Anmeldung" "Mage_Customer::New Customers", "Nein" "Mage_Customer::Registered Customers", "Ja" Sep 18, 2013 at 15:16
-1

I run across a similar problem when trying to send localized transactional emails from within a cronjob - the localization stuff wasn't initialized. For me calling Mage::app()->getTranslator()->init('frontend', true); before sendTransactional() helped.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.