Skip to content
Last updated

With Sinch Chat, it's possible to provide your own translations for all texts. To do that, use setTranslation method and provide a translation object with your custom values. Here's an example:

SinchSdk.Chat.setTranslation({
  initialScreen: {
    title: 'Welcome to live chat',
    description: 'We’re here to help you.',
  },
});
KeyDefault text
typeMessageHereType message here
emojiPickerTitlePick your emoji…
emojiPickerButtonAdd emoji
imagePickerButtonAdd image
endChatButtonEnd chat
continueContinue
shareLocationShare your location
documentDocument
maxFileSizeExceededFile size exceeds maximum limit of 15MB
agentJoined{{displayName}} joined the conversation
agentLeft{{displayName}} left the conversation
endChatPromptEndChatPrompt
initialScreenInitialScreen

endChatPrompt

KeyDefault text
titleEnd chat session?
descriptionAre you sure you want to end chat session? If you still need help please continue the conversation.
confirmEnd chat
cancelContinue

initialScreen

KeyDefault text
titleWelcome to live chat support.
descriptionWe are ready to help you.
startButtonStart Chat