What language do my customers see the widget in on my website?



image avatar

Elissa Tikalsky

Zendesk Digital Resources Team

Edited Apr 11, 2025


1

6

6 comments

Hi Jeroen,
 
Are you seeing any errors?  Also, can you share the code you're using to apply the greeting for each language?

0


Hi,

This is something I am interested in as well.

Maybe this thread can also help?

It often does not work even when I check the window.navigator.language in the inspect Console window

https://support.zendesk.com/hc/en-us/articles/4408825567002-Managing-offline-form-settings 

 

0


Hi Maria,
 
Can you share the full window.zESettings settings object you're using to apply the settings?
 

0


Hi Beto

I try to use this greeting like the API page mentioned above:

          prechatForm: {
          greeting: {
            '*': 'By starting the chat with us you agree to the Privacy Policy, as stated on the Data Protection Information page online',
            'it': "Avviando la chat con noi accetti l'Informativa sulla privacy, come indicato nella pagina Condizioni generali d'Uso"
                    },
            },    

I used "it" because the locale that I interested is Italian (it) and I can see it on /api/v2/locales/it.json

Why the greetings is always in English?

The only way it works is by setting "locale":

  <script type="text/javascript">
    zE('webWidget', 'setLocale', 'it');
  </script>

That doesn't make sense because the greeting works depending on which locale the system finds, therefor what's the point of the asterisk?

Regards.

Maria

0


¡Hola Mireille, gracias por contactarnos!

Veo que ya tiene un ticket abierto con nosotros, credo al mismo tiempo que este post. Nuestro equipo de Soporte se ha contactado con usted y está esperando su respuesta. Puede verla accediendo al correo a través del que nos contactó.

Saludos,

0


Necesito ayuda tengo cuenta Zen Desktoptastatur necesito ayuda urgente 

0


Sign in to leave a comment.