To add multiple languages to your chat widget, you need 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. On every page where the chat widget is installed, you must enter two JavaScript commands to set the language and the text file URL.
For example, if you would like to translate the chat widget into 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:
-
Minimized
-
Connected - maximized
-
Offline form
-
Prechat form
-
Menu