Suite | Growth, Professional, Enterprise, or Enterprise Plus |
Support with | Guide Professional or Enterprise |
Let's say that your company targets the French and English speaking markets. You would therefore like to have a different footer on your help center to provide different contact information based on your customer's language. Or maybe, for a better customer experience, you'd like to display the French support number only to French speaking customers. In this article, you'll learn how to set this up.
This article covers the following topics:
Creating a new dynamic content item
You need to be a Zendesk Support administrator to create dynamic content. In this example, you'll create a dynamic content item with a French variant and add the HTML code of the footer you'd like to be displayed for French speaking customers. Dynamic content allows you to choose a default language. A good best practice is to English if your customer selects a language for which you don't have a footer translation.
- In Admin
Center,
click
Workspaces in the sidebar, then select Agent tools > Dynamic Content.
- Click Add Item .
- Choose a name, such as footer or HC_footer to more easily find your help center related dynamic content later.
- Select a default language such as English.
- Paste the HTML code you want to display for English speaking customers in the content box.
- Click Create to save your dynamic content item.
- Notice the item's name between curly brackets. You'll use that later on.
- Now add one or more other translations. To do so, click Add Variant and follow steps 3-6 again.
Your dynamic content ready. Now, you can add it to your help center.
Modifying your help center theme
- In Knowledge admin, click Customize design
(
) in the sidebar.
- Click the theme you want to edit to open it.
- Click the options menu, then select Edit Code.
- This example modifies the footer so open the Footer template.
- Use the following syntax to insert the dynamic content item we created above: {{dc ' item_name '}}.
- Click Save and you'll be able to see the newly added footer.
- Click Publish changes.
Now, your custom footer on your help center and the text will be displayed based in the language your customers select on the homepage.
This article covered only the footer but you can go further than that. You could have a completely different look and feel based on your customer's language. Or maybe the product you're selling has a different name in French than in English; in this case you can use dynamic content to display a different logo based on the customer's language.
34 comments
Mike DR
0
Moshe Anisman
I managed to add the Dynamic Content to the Guide. Normal Text/HTMl is working but when adding a placeholder it is not rendering and is displayed as a text for example it shows
"{{ticket.title}}" instead of the actual ticket title . Any clue ?
0
Alexandra Weininger
I find this to be terribly hard for a user without coding experience to use. I'm trying to simply add a banner notification about the status of our product at the top of our page. References to dynamic content are added in by default when I do not want to use dynamic content.
When I open the theme settings>General page elements>notification content and add a basic banner message, no matter what I type the banner is preempted by this text
"Could not find the placeholder for dynamic content named"
Is there a way for me to remove this reference to dynamic content? I have no intention to customize this banner to users at the moment and want it to be a blanket statement to anyone visiting the site.
0
Anne Ronalter
in this case, it should be possible to add the language variants to your account.
To do so, please open a ticket with Zendesk Support, so that we can work on that / investigate it.
0
Jane M Langschied
We are having issues since the list of available languages in Dynamic content are different than those available in the Help Center. Canadian English is available in the help center but not in the dynamic content list, so it will not pull in that translation.
0
Team Support
Dear Zendesk Community,
I hope some of you can help.
We are having issues adding dynamic content to the search bar. We can hardcode it but not make it dynamic so it adapts to the target language.
Thanks in advance :)
0
Casey Keefe
No problem Lilian Herman - thank you for trying!
0
Lilian Herman
Sorry I couldn't help! Our email address isn't in our footer, so I have no reference to offer more suggestions. Good Luck!
0
Casey Keefe
Lilian Herman Thank you. Yes, I am able to get the UK address to appear using dynamic content. But, the US address remains and I essentially would like the UK address to replace the US address when user selects English (GB) as the language.
0
Lilian Herman
Have you tried using dynamic content? Create a variant for each language that contains the appropriate email address, then replace the existing email address in the footer.hbs file with the dynamic content - something like this: {{dc 'home_page_footer_office_email_address'}}.
0
Sign in to leave a comment.