image for site

Translate 'Submit a request' Text Dynamically in Zendesk

Discover how to translate 'Submit a request' text dynamically in Zendesk using Dynamic Content. Follow our guide for multilingual support.

Is it possible to translate the 'Submit a request' text dynamically?

Yes, you can translate the 'Submit a request' text dynamically using Zendesk's Dynamic Content feature.

To implement this, create a Dynamic Content item for the text you want to translate. Then, use the Dynamic Content placeholder in your JavaScript code to replace the text. This allows the text to change based on the user's selected language. Here's a sample code snippet:

document.addEventListener('DOMContentLoaded', function() { Array.prototype.forEach.call(document.querySelectorAll('a,h1,li'), function(a) { if (a.textContent.includes('Submit a request')) { a.textContent = '{{dc 'contact_us'}}'; } }); });

This approach ensures that the text is translated according to the user's language preferences. For more information, refer to Zendesk's documentation onproviding multiple language support with dynamic content.


More related questions

How can I change the 'Submit a request' text in Zendesk Help Center?

To change the 'Submit a request' text in your Zendesk Help Center, you need to edit the theme code. This process involves a few steps. First, ensure you are on a Suite Growth plan or higher, as this feature is only available on these plans. Next,…

Can I change the 'Submit a request' text across all instances in Zendesk?

Yes, you can change the 'Submit a request' text across all instances in Zendesk using JavaScript. To do this, you can add a JavaScript snippet to your script.js file. This script will search for all elements containing the text 'Submit a request'…

How do I ensure my changes to the 'Submit a request' text are safe?

To ensure your changes to the 'Submit a request' text are safe, always work on a copy of your theme. Before making any changes to your live theme, create a duplicate of your current theme. This way, you can test your changes without affecting the…

Can I customize the 'Submit a request' link to point to different forms?

Yes, you can customize the 'Submit a request' link to point to different forms based on specific conditions. To achieve this, you can use JavaScript to dynamically change the link's target based on the context, such as the article or section the…

Interested indeflectingover 70% of your Zendesk support tickets?

Our AI customer support agent is here to help. Trained on all your help docs, installed directly into your Zendesk account, it can be used to automate customer replies for tickets or live chat. Learn more below.
Zendesk logo

Zendesk Support Tickets

Receive new tickets by email or a support form? This integration is for you.
My AskAI integrated within Zendesk to deflect support tickets
Learn about our Zendesk ticket integration
Zendesk logo

Zendesk Messaging (live chat)

Using Zendesk's Messaging widget on your site for live chat? This integration is for you.
My AskAI integrated within Zendesk to deflect customer support live chat conversations
Learn about our Zendesk Messaging integration

Join1,000+ companies reducing their support costs and freeing up support agents for more important work

Vestd company logo — Customer of My AskAI's AI customer support agents
Genesis company logo — Customer of My AskAI's AI customer support agents
Zinc company logo — Customer of My AskAI's AI customer support agents
Customer.io company logo — Customer of My AskAI's AI customer support agents
Zeffy company logo — Customer of My AskAI's AI customer support agents
NHS company logo — Customer of My AskAI's AI customer support agents
Kontakt.io company logo — Customer of My AskAI's AI customer support agents

Reduce support costs.Spend more time on customer success.

Our AI customer support agents are already used by 👇
Companies using AI assistants on their websites