Magento翻译电子邮件 - 电子邮件标题 [英] Magento translation email - email titles

查看:174
本文介绍了Magento翻译电子邮件 - 电子邮件标题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您如何在第二语言商店视图中更改电子邮件的标题。新订单确认电子邮件中的新订单示例。 csv文件在这种情况下没有响应...

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...

推荐答案

另一个解决方案。您可以将默认电子邮件模板复制到要使用的语言文件夹中,然后手动翻译。

Another solution. You can copy the default email templates into a language folder you are wanting to use, and translate them manually.


  1. app / locale / en_US / template to app / locale / [YOUR
    LANGUAGE CODE] / template

[您的语言代码] 更改为
所需语言的语言代码。 YOu可以找到一个列表 here 。确保它在
格式 en_US

Change [YOUR LANGUAGE CODE] to the Language Code of your desired language. YOu can find a list here. Make sure it's in the format en_US.

修改您的 app / locale / [YOUR
LANGUAGE CODE] / template
文件夹。

在Magento中,转到系统>配置>常规。在左上方,将您的当前配置范围:更改到您要翻译的商店。

In Magento, go to System > Configuration > General. At the top left, change your Current Configuration Scope: to the store you want translated.

更改您所翻译的语言 Locale 。它必须匹配您的文件夹命名空间中使用的语言代码。

Change the Locale to the language you translated to. It must match correct the language code used in your folder namespace.

注意:编辑电子邮件模板文件时,您会注意到顶部包含变量的注释。你会看到像<! - @ subject Welcome {{var customer.name}}! @ - > 。更改此项将会改变Magento使用的主题行。

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.

这篇关于Magento翻译电子邮件 - 电子邮件标题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆