Changing your help center design based on your end user language

Return to top

34 Comments

  • Mohd Hanif Bin Mohamod Rodili

    Hi Stephanie (Modsquad), please try dc ‘test’. The format has changed I think from dc.test to dc ‘test’

    2
  • John Smith

    Hello, guys!
    I have a problem.
    I created the test DC but it doesn't work for German. Could you please help me? Thank you.



    2
  • Mohd Hanif Bin Mohamod Rodili

    I've setup a DC but the DC return "Could not find the placeholder for dynamic content named hc-title"

    1
  • Nicole Saunders
    Zendesk Community Manager

    Hi Federico,

    The first thing I'd check is your plan type, as this feature is only available to those on Professional or Enterprise plans. Can you confirm what plan type you're on?

    0
  • Niclas Karlin

    Hello. It seems using assets is not supported in Dynamic content?
    Firefox says "Can't load image" and Chrome says:

    <img src="{{asset 'WeChat.jpg'}}">

    instead of something like this:

    <img src="//theme.zdassets.com/theme_assets/15749269/6f7d8e0380f60b22aa3b1f806149680b802636f4.jpg">


    The same code works if used directly in the .hbs:

    <img src="{{asset 'WeChat.jpg'}}">

     

    One more thing, could you please add "HTML" to the Placeholder on the setup of DC, much like in the HC - Asset properties?

    Triggers: {{dc.item_name}}
    HTML: {{dc 'item_name'}}
    CSS: ?
    ...

     

    0
  • Christine
    Zendesk Engineering
    Hi Luca,

    It is not currently possible to customize the system error text on ticket forms/fields.

    I have found a similar community post here. If you have some time, I recommend that you upvote this post and leave a comment on the thread with your use case. Our Product Managers actively monitor our feedback threads, and conversations with high user engagement ultimately get flagged by the team for roadmap planning. 

    Thank you!
    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
  • Vlad
    Community Moderator
    The Wise One - 2022

    Hey Hava, You should use the Dynamic content option. 
    Then your JS code will look like this:

     $('.form-field.string.required.request_anonymous_requester_email label').text('{{dc 'your_email_text'}}');

     

    Also, check this article too.

    0
  • Jeff C
    Zendesk Customer Care

    Hi Kristin,

    The locale is based on the browser language the end user has. If that locale is not a language that you have for Guide, then the fallback language will be the default language in your Guide settings.

    0
  • Marvin Toussaint

    Is dynamic content only used to display based on the language chosen? What if I wanted to use it to render things with an event listener could I do that?

    0
  • Tim | Customer Service

    Hi,

    I was wondering if it's also possible to only show a specific social media icon in the footer based on the language of your helpcenter. For instance.. We've set up a Helpcenter for multiple languages (/de/fr/lu/nl), but I only want to add and show a WhatsApp icon to our Dutch version of our Helpcenter.

    The code would be something like:

    <a href="link to WhatsApp business page" target="_blank"><span class="WhatsApp-icon"></span></a>

    But if I add this to the footer.hbs the new WhatsApp icon would show on every version of the Helpcenter.

    0
  • Hava

    Hi,

    I want to change the "Your email address" text description on "Submit a request" and found this code:

    <script>

     $('.form-field.string.required.request_anonymous_requester_email label').text('Your email-address here');

    </script>

    But if I want it to be dynamic, and change based on the language chosen on the page - what do I add and where?

     
    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
  • 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
  • Casey Keefe

    No problem Lilian Herman - thank you for trying!

    0
  • Luca Baldini

    Ehy Vlad! Do you know how I can change the text of the mandatory field error notification?

    0
  • Vlad
    Community Moderator
    The Wise One - 2022

    Hey Victoria, seems the format is not good, try with:

     <div class="hero-headline"> {{dc 'helpdesk_welcome_message'}} </div>
     
    0
  • Lilian Herman

    I've created the English default, but I don't see the Add Variant link anywhere.  What am I missing?

    0
  • Victoria Ganusceac

    Hello,

    Where exactly should the placeholder be added in the code? I'm replacing the text with the placeholder but it does not come up when I preview my helpdesk:

     <div class="hero-headline"> {{dc.helpdesk_welcome_message}} </div>
    0
  • Federico Vezzoli

    I'm sorry to ask but I'm stuck at step 1:

    1. Click the Admin icon (  ) in the sidebar, then select Dynamic Content .

    Everything else is quite clear, but I'm unable to set any dynamic content...

    Any help?

    thanks

    0
  • Anne Ronalter
    Zendesk Customer Care
    Hello Jane,

    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
  • Mike DR
    Zendesk Customer Care
    HeyA there! Seems like those banner elements were added manually, did you purchase a custom theme? Were you able to check with their support if they can remove it from your theme? In the default Copenhagen theme, we don't have the dynamic content setup.
    0
  • Stephanie (Modsquad)

    That was it! Thank you so much Mohd Hanif Bin Mohamod Rodili!

    0
  • Tipene Hughes
    Zendesk Developer Advocacy

    Hi Tim,

    Yes that’ll be possible using dynamic content. You can create a dynamic content item with a single variant and language set to Dutch, then add the code to the content section. Following that, you’ll just need to add the dynamic content helper to your footer.hbs file and you should be all set. 

    I hope this helps! Feel free to reach out with any questions. 

    Tipene

    0
  • Casey Keefe

    Hey Everyone! Does anyone know how I would wrap the helper in order to display different information in the footer depending on selected language?

    For example, if a user selects English (GB), I would like the address for our UK office to display in the footer, rather than the default US. At this time I am able to get the UK address to appear, but the US address is there as well.

    Any help is appreciated. Thank you!

    0
  • Mohd Hanif Bin Mohamod Rodili

    Good! You’re welcome Stephanie (Modsquad) 😊.

    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
  • Stephanie (Modsquad)

    Hello! I'm having the same problem as Mohd Hanif Bin Mohamod Rodili. I set up a test dynamic content under support -> settings -> dynamic content and get "not possible to access `dc` in `dc.test`" error when I try to use it in my help center. 

    I don't see any dynamic content settings in the guide admin page. Am I missing a step?

    Thank you!

    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
  • Kristin Bouveng

    When a user is in the Knowledge Center, does it automatically serve the language based on their user's default language? Or will it only change if they choose a different language from the dropdown? 

     

    0

Please sign in to leave a comment.

Powered by Zendesk