# Localization

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:

```javascript
SinchSdk.Chat.setTranslation({
  initialScreen: {
    title: 'Welcome to live chat',
    description: 'We’re here to help you.',
  },
});
```

| Key | Default text |
|  --- | --- |
| typeMessageHere | Type message here |
| emojiPickerTitle | Pick your emoji… |
| emojiPickerButton | Add emoji |
| imagePickerButton | Add image |
| endChatButton | End chat |
| continue | Continue |
| shareLocation | Share your location |
| document | Document |
| readMore | Read more |
| maxFileSizeExceeded | File size exceeds maximum limit of 15MB |
| agentJoined | {{displayName}} joined the conversation |
| agentLeft | {{displayName}} left the conversation |
| endChatPrompt | [EndChatPrompt](#endchatprompt) |
| rtcTooltip | [RtcTooltip](#rtctooltip) |
| initialScreen | [InitialScreen](#initialscreen) |


## endChatPrompt

| Key | Default text |
|  --- | --- |
| title | End chat session? |
| description | Are you sure you want to end chat session? If you still need help please continue the conversation. |
| confirm | End chat |
| cancel | Continue |


## rtcTooltip

| Key | Default text |
|  --- | --- |
| title | Voice and Video calling |
| close | Close |
| enable | Enable |
| rtcDisabledDescription | Voice and video calling is currently disabled. |
| rtcDisabledWithEnableDescription | Voice and video calling is currently disabled. Enable it to start a call. |
| rtcDisabledIOsDescription | Voice and video calling is not supported on iOS devices. |


## initialScreen

| Key | Default text |
|  --- | --- |
| title | Welcome to live chat support. |
| description | We are ready to help you. |
| startButton | Start Chat |