image for site

Hide Zendesk Community by Language

Discover how to hide the Zendesk Community based on selected language using jQuery. Customize content visibility easily.

Can I hide the Zendesk Community based on the selected language?

Yes, you can hide the Zendesk Community based on the selected language using jQuery. This is useful for tailoring content visibility.

To hide the community for specific languages, add the following jQuery statement to your JavaScript template:

if (document.location.pathname.match( (/hc\/de/) || (/hc\/es/) )) { $('.community').hide(); }

This code hides the community section when the language is set to German or Spanish, allowing for a more customized user experience.


More related questions

How can I change the 'My Activities' link text in Zendesk Help Center?

To change the 'My Activities' link text in your Zendesk Help Center, you can use jQuery to customize it. Simply add themy-activitiesclass to theheader.hbstemplate and then use a jQuery statement to modify the text. Here's a quick example:…

How do I rename labels on the Zendesk Request form?

Renaming labels on the Zendesk Request form is straightforward with jQuery. You can change the 'Subject' and 'Description' labels by adding specific jQuery statements to your JavaScript template. For example, use…

Can I prepopulate fields in custom ticket forms in Zendesk?

Yes, you can prepopulate fields in custom ticket forms in Zendesk using jQuery. This is particularly useful for forms like product registration. You'll need the ticket form ID, which you can find in the form's URL. Then, use jQuery to set default…

How can I change the order of custom fields on the Zendesk Request form?

Changing the order of custom fields on the Zendesk Request form can be done using jQuery. You'll need the IDs of the custom fields, which you can find in the Zendesk Support interface. For example, to reorder fields, you can use the following…

How do I add headers to sections in the Zendesk Request form?

Adding headers to sections in the Zendesk Request form can enhance the form's readability. You can use jQuery to prepend headers to different sections. For instance, to add headers, include the following jQuery statements in your JavaScript…

How can I hide a language in the Zendesk language dropdown?

Hiding a language in the Zendesk language dropdown is useful if the content isn't ready for release. You can achieve this with a simple jQuery statement. For example, to hide French from the dropdown, add the following code to your JavaScript…

How do I replace text strings with flag icons in the Zendesk language selector?

Replacing text strings with flag icons in the Zendesk language selector can make it more visually appealing. You can use jQuery to swap text with images. For instance, to replace 'English (US)' and 'Deutsch' with flags, use the following jQuery…

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