Customizing The Chat Text Strings

You can change all of the default text strings used by the WhosOn Chat & Click-To-Call-Back client.

 

All text strings are stored in an XML file in the \Strings folder in the chat folder (C:\Program Files\WhosOnV4\Chat\NET2\)

 

Simply edit the XML file using a text editor, for the language of your choice. For example, for English strings, edit the en.xml file, for French use fr.xml.

 

You can also create new XML files for other languages. Save the XML file using the two digit language code.

 

Site specific strings files.

 

In addition to language specific strings, you can create site-specific strings files. Simply create a file called {domain}.xml in the \Strings folder, for example: www.mysite.com.xml

 

Example Strings File

 

<?xml version="1.0" encoding="utf-8" ?>

<strings>

<HeaderStart>%apptitle% Chat: Please Enter Your Name To Begin</HeaderStart>

<StartChat>Start Chat</StartChat>

<EndChat>End Chat</EndChat>

<Connected>%apptitle% Chat: Connected</Connected>

<NotConnected>%apptitle% Chat: Not Connected</NotConnected>

<PleaseWait>Please Wait...</PleaseWait>

<NoName>Please enter your name</NoName>

<NoEmail>Please enter an email address</NoEmail>

<ConnectError>Could not contact the %apptitle% Server. %apptitle% may not be running, please try later.</ConnectError>

<ChatSessionClosed>Chat Session Closed</ChatSessionClosed>

<ChatSessionEnd>Thank you for chatting to us today.</ChatSessionEnd>

<Transcript>If you would like a transcript of this chat emailed to you, please enter your email address and click the Send button.</Transcript>

<Send>Send</Send>

<Print>Print</Print>

<Email>Email</Email>

</strings>

 

Additional Tags

 

You can also add the following tags to any strings file:

 

BackgroundURL - specify a custom image for the chat window background.

StyleSheet - specify a custom stylesheet to override the default.