image for site

Manually Setting Language for Zendesk Web Widget

Discover how to manually set the language for the Zendesk Web Widget using the 'setLocale' API.

Can I manually set the language for the Zendesk Web Widget?

Yes, you can manually set the language for the Zendesk Web Widget using the 'setLocale' API. This allows you to override the default language setting based on the user's browser.

To do this, you can include a script in your website's code that specifies the desired language. For example, to set the language to Italian, you would use:<script type="text/javascript"> zE('webWidget', 'setLocale', 'it'); </script>.


More related questions

How does the Zendesk Web Widget determine the language to display?

The Zendesk Web Widget automatically displays text in the language of the user's browser. If a user's browser is set to German, for example, the widget will appear in German. If the widget is embedded in a Help Center, it will use the Help Center's…

Why doesn't my custom pre-chat greeting translate automatically?

Custom pre-chat greetings in the Zendesk Web Widget do not automatically translate. To provide translations, you need to include them in the widget script using the prechatForm API. For example, you can specify different greetings for different…

What should I do if the Web Widget language doesn't match the browser language?

If the Web Widget language doesn't match the browser language, ensure that the browser's language settings are correctly configured. Additionally, check if the widget is embedded in a Help Center, as it might be using the Help Center's language…

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