Skip to main content

Localization

You can pass the locale prop to the <Chat /> component. This locale will be passed to dayjs, so we can localize dates. To see all supported locales check function initLocale in this file. Additionally, locale prop will be used to localize a couple of texts defined here. You can override texts regardless of the locale by passing l10nOverride prop.

<Chat
l10nOverride={{ inputPlaceholder: 'Here' }}
locale='en'
/>