Show different text and use different link according to the guide language

8 Comments

  • Trapta
    Community Moderator

    Hi @Vassilios Lourdas,

    You can use dynamic content if you are on Professional or Enterprise Plans for links and add variants for different languages. Below are some post you might find useful -

    Let me know if this is what you are looking for.

    Thanks

    1
  • Vassilios Lourdas

    Hello @Trapta,

     

    Thanks for pointing this out. I have already checked them, but I was not able to do it.

    In fact, the dynamic content will change the text, but I need to have different link per language too, not only text.So, would you put the link in a dynamic field and include it in the html code of the homepage?

    Thanks,

    0
  • Trapta
    Community Moderator

    @Vassilios Lourdas,

    You can add HTML also in dynamic content. Try adding <a href="URL">TEXT</a> in dynamic content instead of text only.

    Thanks

    0
  • Vassilios Lourdas

    @Trapta,

    I did the following:

     

    <a class="link" href="{{dc.etsuserguide}}">{{dc.etsuserguide_title}}</a>



    But I get an error 

    1 error

    not possible to access `dc` in `dc.etsuserguide`


    I have already created the dynamic content for both.
    0
  • Trapta
    Community Moderator

    @Vassilios Lourdas,

    Try this,

    Add this in the content of your DC

    For English -

    <a class="link" href="xyz.zendesk.com/hc/en-us">TITLE</a>

    For another variant (for example - nl)

    <a class="link" href="xyz.zendesk.com/hc/nl">TITLE</a>

    Now use this DC placeholder {{dc.DC_PLACEHOLDER}} in your HTML.

    Thanks

    0
  • Vassilios Lourdas

    Hello @Trapta,

    Sorry for insisting, but I am doing something wrong here and I cannot see it.

    Could you please indicate me exactly where/how I should place it?

    Thanks a lot for your assistance!

    0
  • Vassilios Lourdas

    Ok, I found it!

    I had to use a different reference of the dynamic content. The correct one is

      {{dc 'etsuserguidenew'}}


    Thanks a lot for your support!
    1
  • Trapta
    Community Moderator

    @Vassilios Lourdas, Glad you figured it out. Enjoy! :)

    Cheers
    Trapta

    1

Please sign in to leave a comment.

Powered by Zendesk