Text properties

Chat texts for chat's selected language are defined in json. See an example of english translations below.

{  
  interface: {  
    writeMessage: 'Write a message...',  
    attachFile: 'Attach a file',  
    send: 'Send',  
    stopRecording: 'Stop recording',  
    record: 'Start recording',  
    newMessages: 'New messages',  
    removeFile: 'Remove the file',  
    maxFileSize: 'Maximum file size (20MB) exceeded.',  
    chatOffline: 'Chat is offline'  
  },  
  error: {  
    messageSend: 'Message could not be sent. Please try again.',  
    fileSend: 'File could not be sent. Please try again.',  
    fileUpload: 'File could not be uploaded. Please try again.',  
    isNotSupported: '{0} is not supported.',  
    dialCodeNoOptions: 'No options for {term}.'  
  },  
  welcome: '',  
  buttonTitle: 'Need help?'  
}

Here are some examples of texts and their appearance in chat widget:

writeMessage key:



welcome key and error.chatOffline key:




buttonTitle key: