If you support multiple languages, you can translate, or localize, your macros. That way, when an agent needs to use a macro to provide quick and efficient support, they can do so in the right language.
To learn more about creating macros, seeCreating macros for tickets.想要了解更多关于动态内容是如何工作的,年代eeProviding multiple language support with dynamic content.
This article contains the following topics:
Creating and using dynamic content for macros
To localize your macros, you’ll create dynamic content, which includes a default language along with additional variants for the other languages you want the macro to be available in.
To fully localize a macro, you’ll need to create two pieces of dynamic content: one for the macro name and one for the macro body.
To create dynamic content for a macro name or body
- InAdmin Center, clickWorkspacesin the sidebar, then select代理工具> Dynamic Content.
- ClickAdd item.
- UnderDynamic content item title, enter a descriptive title for your new piece of dynamic content. To make it easier to find and manage your localized macros, Zendesk recommends naming the dynamic content the same as the macro name in your account's default language (for example, "Macro -
- Name" or “Macro - - Body”). - Select theDefault languagefor your dynamic content. This field shows all of thelanguages that you have enabledfor Zendesk Support.
- In theContentfield, enter the text you want to see for the default language (for either the macro name or the macro body).Tip:Remove any trailing spaces or line breaks before saving your text, as this might cause issues when used within other Zendesk products.
- ClickCreate.You're redirected to a screen where you can add variants for the languages you want your macro to be available in.
- ClickAdd variantand fill out the following fields:
- Language: Select a language you want the macro to be available in.
- Status: SelectActive.
- Default: Leave this checkbox blank. Select it only if you want to change the macro's default language from the one you created earlier to this one.
- Content: Enter the text of the macro in the language you just selected. In other words, this is the translation of the text you entered in your initial piece of dynamic content.
- ClickCreate.You’re redirected to the variants page.
- (Optional) Repeat steps 7-9 for any additional languages you want the macro to be available in.
- Near the top of the variants page, copy thePlaceholdertext for your dynamic content. You'll need this for the next step.
- In the sidebar, clickWorkspaces, then select代理工具>Macros.
- Select the macro you want to localize.
- Paste your dynamic content placeholder into the appropriate field:
- If you created dynamic content for the macro name, paste it into theMacro namefield.
- If you created dynamic content for the macro body, paste it into theRich contentfield (which is available when your macro has anActionofComment/description).
Note:If you no longer have your placeholder copied, don’t worry—just reopen your piece of dynamic content (Workspaces>代理工具>Dynamic content) and copy the placeholder again.
- ClickSave.
Creating localized categories for macros
If you’vecategorized your macros, you can also localize the category names.
To localize macro categories
- Create another piece of dynamic contentfor the macro category name.
- Open the macro you want to categorize and localize.
- Update the macro’s name to include the dynamic content for the category and the dynamic content for the macro name, separated by two colons.
- Click Save.
Viewing your localized macros
You can view and manage your localized macros on the Macros administration page.
To view and manage your localized macros
- InAdmin Center, clickWorkspacesin the sidebar, then select代理工具> Macros.
When viewed here, localized macros show the placeholder name in theName列。
For more on managing macros, seeOrganizing and managing your macros.
Agents can also view and select localized macros in the Agent Workspace.
To view and use your localized macros
- In theAgent Workspace, open a ticket and click theApply macrofield.
When viewed here, localized macros appear in the agent’s selected language.
For more on using macros, seeUsing macros to update tickets.
5 Comments
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.
Please add formatting (rich text editor) to dynamic content
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.
Zendesk Support placeholders are containers for dynamically generated ticket and user data. For the complete list of placeholders, and where they can be used, seeZendesk Support placeholders reference.When you specify placeholders, remember they are case sensitive.
I hope that helps!
Thank you, Gabriel. This is exactly what I was trying to search for. I appreciated it.
Pleasesign into leave a comment.