问题
How do you go about changing the title of emails in a second language store view. Example "New Order" in the New Order confirmation email. csv files are not responding in this case...
回答1:
Another solution. You can copy the default email templates into a language folder you are wanting to use, and translate them manually.
Copy everything in
app/locale/en_US/templatetoapp/locale/[YOUR LANGUAGE CODE]/template.Change
[YOUR LANGUAGE CODE]to the Language Code of your desired language. YOu can find a list here. Make sure it's in the formaten_US.Modify the email templates in your
app/locale/[YOUR LANGUAGE CODE]/templatefolder.In Magento, go to
System > Configuration > General. At the top left, change yourCurrent Configuration Scope:to the store you want translated.Change the
Localeto the language you translated to. It must match correct the language code used in your folder namespace.
NOTE: When editing the email template files, you'll notice some comments at the top containing variables and such. You will see something like <!--@subject Welcome, {{var customer.name}}! @-->. Changing this will alter the subject line used by Magento.
回答2:
You can just create custom Transactional Emails which include the translations needed for the store view.
Create a new Transaction Email template, in your store's required language. Go to
System > Transactional Emailsand clickAdd New Template. Load in the default template you are trying to translate and modify the subject and body of the email.Go to
System > Configuration > Sales EmailsAt the top left of your configuration, change to your desired Store View you want these emails to be assigned to.Change the
New Order Confirmation Templateto the Transaction Email template you created. ClickSave Config.Items ordered from that store should now send an email using the translated email you created.
来源:https://stackoverflow.com/questions/13932520/magento-translation-email-email-titles