Appearance
Interface strings
The chat window's own text is English. Replace any of it, by key, in two places:
- for every page, in the bot's settings:
texts.strings(the admin panel's Behaviour tab); - for one page, with the
stringsboot option (orupdate({ strings })), which wins over the bot's.
js
WirefaceChat.boot({
bot: 'pk_your_bot_id',
locale: 'fr',
strings: {
send: 'Envoyer',
newConversation: 'Nouvelle conversation',
thinking: '{name} réfléchit',
},
});Words in braces are filled in: {name} is the agent's name (or, in humanJoined and humanLeft, the team member's), {n} and {mb} are numbers. Keys you don't set keep the English text. The agent's own replies are not affected: it answers in the visitor's language (see identity.languagePolicy in Configuration). The title, subtitle, placeholder and offline message are bot settings of their own (texts.*); the placeholder string below is only used when texts.placeholder is empty.
| Key | English | Fills in |
|---|---|---|
placeholder | Type a message... | |
send | Send | |
stop | Stop | |
close | Close chat | |
minimize | Minimise | |
menu | More options | |
newConversation | New conversation | |
download | Download transcript | |
attach | Attach an image | |
remove | Remove | |
thinking | {name} is thinking | {name} |
typing | {name} is typing | {name} |
online | Online | |
away | Away | |
connecting | Connecting... | |
reconnecting | Reconnecting... | |
offline | You're offline. Messages will send when you're back. | |
poweredBy | Powered by | |
helpful | Helpful | |
notHelpful | Not helpful | |
rate | How was your conversation? | |
ratingLabel | {n} out of 5 | {n} |
thanks | Thanks for your feedback! | |
ended | This conversation has ended. | |
startNew | Start a new conversation | |
you | You | |
uploadFailed | That image couldn't be uploaded. | |
tooBig | Images can be up to {mb} MB. | {mb} |
notImage | Only images can be attached. | |
tooMany | You can attach up to {n} images. | {n} |
dropHere | Drop images to send | |
hideFace | Hide face | |
showFace | Show face | |
latest | Jump to latest | |
unavailable | This chat isn't available right now. | |
retry | Try again | |
image | Image | |
openImage | Open image | |
tapForSound | Tap for sound | |
mic | Talk | |
micStop | Stop talking | |
listening | Listening... | |
speaking | {name} is speaking | {name} |
voiceEnded | Voice chat ended | |
micDenied | Microphone access was blocked. Allow it in your browser to talk. | |
mute | Mute microphone | |
unmute | Unmute microphone | |
holdToTalk | Hold to talk | |
camera | Turn on camera | |
cameraOff | Turn off camera | |
cameraOn | Camera on: {name} can see you | {name} |
cameraDenied | Camera access was blocked. | |
allow | Allow | |
soundOn | Read replies aloud | |
soundOff | Stop reading replies aloud | |
talkToPerson | Talk to a person | |
sources | Sources: | |
viaVoice | voice | |
viaVoiceTitle | Said by voice | |
previewBanner | Preview of the draft (not live) | |
notNow | Not now | |
privacy | Privacy | |
humanJoined | {name} joined the chat | {name} |
humanLeft | {name} left the chat | {name} |
waitingForHuman | Connecting you with someone from the team... | |
handoffUnavailable | No one from the team is available right now. | |
history | Show conversation | |
expand | Open full chat | |
leadTitle | Leave your details | |
submit | Send | |
deny | Don't allow | |
required | Required | |
captions | Captions |