Add language translations to your chat widget

In order to add multiple languages ‚Äčto your chat widget, you have to:

1. Create a text file with the translations of the languages you wish.

You can download the text file to see the format.

2. Save the file to a folder on your website's server.

3. Finally, on every page where the chat widget is installed, you must enter two javascript commands, to set the language and the text file URL.

e.g. If you would like to translate the chat widget in French, you should enter the following commands, just after the chat widget code.

www.yourwebsite.com is your website and https://www.yourwebsite.com/onwebchatLanguages.txt is the URL of the text file.

Language file description

The translation text file contains the following sections:

  1. Minimized
  2. Connected - maximized
  3. Offline form
  4. Prechat form
  5. Menu


Below are some basic variables in the text file corresponding to the chat widget texts.

Minimized

Connected - maximized

* If you wish to include the operator name, you can use the variable {{operator}} .

Offline form

Prechat form

We use cookies to ensure that we give you the best experience on our website.