Profile Language vs Page Language


1 コメント

  • Zsa Trias
    Zendesk Customer Care

    Hello Patrick,

    This is the expected behavior at the moment wherein the requester's language is detected on the first request and it will be based on the selected language of the user from the Help Center. Please refer to this article: Adding multiple languages to Zendesk Support

    As a workaround, may I suggest adding a custom dropdown ticket field in your forms, and having it prefilled when customers submit a request? With this field, you can create a business rule to change the requester's language based on the value of the field. 

    Let me provide the steps below: 

    1. create a dropdown field for the requester language and make sure that it's added to your ticket form.

    2. Edit your theme's JS with this code: 

     // Hide custom field
        var htmllang = document.documentElement.lang;
      // Auto-populate English
      if (htmllang === "en-US") {

      // Auto-populate German
     if (htmllang === "de") {
        // Auto-populate Spanish
     if (htmllang === "es") {
          // Auto-populate French
     if (htmllang === "fr") {

    This code should auto-populate the custom field while being hidden in the actual form. 

    3. Create a business rule/trigger to automatically set the "Requester's language" based on the value of the drop-down field. 

    I got the idea from this article here, remember to import the jQuery library as well as instructed here. 



Powered by Zendesk