Translation of chat badge message

1 Kommentare

  • Kay
    Community Moderator

    Hi Matthias 👋

    You can set the language of the button dependent on the locale you are giving the Widget.

    You can use different strings for different locales or use one string for all locales by using an asterisk (*) for the locale. You can also use the asterisk to specify a fallback string in case the browser isn't set to a listed locale.

    <script type="text/javascript">
      window.zESettings = {
        webWidget: {
          launcher: {
            badge: {
              label: {
                '*': 'Chat with us',
                fr: 'Discute avec nous'
              }
            }
          }
        }
      };
    </script>
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk