How can I change t helper default translation text

4 Comments

  • Ifra Saqlain
    Community Moderator

    Hi,

    If you want to change translated text of T helper you can use JS or jquery but there isn't the way to change T helper translated text by backend. Or you have to create DC.

     

    Thank You

    Team

    0
  • Trapta
    Community Moderator

    Hi Yilin Wei,

    Please take a look at this post https://support.zendesk.com/hc/en-us/community/posts/360047761854-Put-Free-text-in-HC-default-ticket-form-?page=1#community_comment_360011864634

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

    Thanks

    0
  • Yilin Wei

    Thank you guys for answering! Just want to make my question a bit clear, so if I have {{ t `requests` }} and the default text translated that displays is:

    And I want to change the text to "All Requests" instead of "Requests". Could I just directly change what `requests` variable represent? Shouldn't this translation be encoded somewhere? Thank you very much.

    0
  • Ifra Saqlain
    Community Moderator

    There are built in helpers by Zendesk and if you want to change translation of that so you have use JS or JQuery or write hard coded string and create DC for this as I explained you in my first given answer. You can't change translation of this helper directly. Don't confuse with the given post link above.

     

    You want to ' All Requests' so you have to write hard coded string and create DC for other languages or you can use JS/JQuery.

     

    Thank You

    Team

    0

Please sign in to leave a comment.

Powered by Zendesk