如果您支持多种语言,可以翻译或本地化您的宏。这样,当专员需要使用宏提供快速高效的支持时,他们可以用正确的语言进行操作。
要了解更多关于创建宏 的信息,请参阅创建工单宏。要详细了解动态内容的工作方式,请参阅 通过动态内容提供多语言支持。
本文章包含以下主题:
为宏创建和使用动态内容
要本地化您的宏,您需要创建动态内容,其中包含默认语言,以及您希望宏可用的其他语言的其他变量。
要完全本地化宏,您需要创建两部分动态内容:另一部分是宏名称,另一部分是宏正文。
创建宏名称或正文的动态内容
-
在 管理中心,单击
,然后选择 专员工具 > 动态内容。
- 单击添加项目。
- 在 动态内容项目标题下,为新的动态内容输入一个描述性标题。为了便于查找和管理本地化的宏,Zendesk 建议以您帐户默认语言的宏名称相同的名称动态内容(例如,“宏 - <宏名称> - 名称”或“宏 - <宏名称> > - 正文”)。
- 选择您动态内容的 默认语言 。此字段显示 您已为 Zendesk Support 启用的所有语言 。
- 在 内容 字段中,输入您希望默认语言看到的文本(用于宏名称或宏正文)。提示:保存文本之前请移除所有尾随空格或换行符,以免在其他 Zendesk 产品中使用时出现问题。
- 单击创建。您将转到一个屏幕,可在其中添加变量,使其成为您要宏使用的语言。
- 单击 添加变量 ,然后填写以下字段:
- 语言:选择您希望宏提供的语言。
- 状态:选择 活跃的。
- 默认:将此复选框留空。仅在将宏的默认语言从之前创建的更改为当前时选择此选项。
-
内容:以您刚选择的语言输入宏的文本。换言之,这是您在初始动态内容片段中输入文本的翻译。
- 单击创建。您将被重定向到变量页面。
- (可选)对于您希望宏支持的其他语言,请重复步骤 7-9。
- 在变量页面顶部附近,复制您的动态内容的 占位符 文本。供下一步使用。
- 在侧栏中,单击 工作区,然后选择 专员工具 > 宏。
- 选择您要本地化的宏。
- 将动态内容占位符粘贴到适当的字段中:
- 如果您为宏名称创建了动态内容,将其粘贴到 宏名称 字段中。
- 如果您的宏正文是动态内容,请将其粘贴到 丰富内容 字段中(当您的宏的 操作 为 评论/描述时可用)。注意:如果占位符不再被复制,请不要担心,只需重新打开您的动态内容(工作区 > 专员工具 > 动态内容),并再次复制占位符即可。
- 如果您为宏名称创建了动态内容,将其粘贴到 宏名称 字段中。
- 单击保存。
为宏创建本地化类别
查看本地化的宏
翻译免责声明:本文章使用自动翻译软件翻译,以便您了解基本内容。 我们已采取合理措施提供准确翻译,但不保证翻译准确性
如对翻译准确性有任何疑问,请以文章的英语版本为准。
7 条评论
Arianne Batiles
Hi 5732459075994,
Dynamic content must be created for both the title and the body of the macro. If there are custom field actions in the macro, you also need to create dynamic content for the custom field title and value.
0
Abdelhameed Khaled
When I tried to use it it only worked with the title but the content remains in default dynamic content language didn't change according to requester language .?! 1263082148149 1264158222289 can you help ?
0
Luis
Thank you, Gabriel. This is exactly what I was trying to search for. I appreciated it.
0
Gabriel Manlapig
Zendesk Support placeholders are containers for dynamically generated ticket and user data. For the complete list of placeholders, and where they can be used, see Zendesk Support placeholders reference. When you specify placeholders, remember they are case sensitive.
I hope that helps!
1
Luis
Hi,
I have the following concern: Where can I get a list of Zendesk codes for my macros? For example: I use this {{ticket.requester.first_name}} , I use this codeto get the requester name of a ticket.
1
Val
Please add formatting (rich text editor) to dynamic content 🙏
4
Booka Rentals Support
For sure this could have been made a lot more user friendly. A lot of steps to translate some macros. I'll keep translating each macro manually, looks a lot easier.
4
登录以发表评论。