Chat UIKit React v3
Chat UIKit React
Chat UIKit
React
Version 3

Text localization

Copy link

Although the default language of Sendbird UIKit for React is English, you can localize the strings in the stringSet to a language of your choice. To display the texts in another language, override the default values in the stringSet below.

Note: For a full set of strings, refer to the stringSet.ts file in the Sendbird UIKit React repository. This ensures that you are always using the most up-to-date and complete set of strings.

stringSet

Copy link
Group channel - Conversation
StringEnglish text

MESSAGE_STATUS__YESTERDAY

Yesterday

CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE

new message(s) since

CHANNEL__MESSAGE_LIST__NOTIFICATION__ON

on

Channel list
StringEnglish text

CHANNEL_PREVIEW_MOBILE_LEAVE

Leave channel

Channel - Settings
StringEnglish text

CHANNEL_SETTING__HEADER__TITLE

Channel information

CHANNEL_SETTING__PROFILE__EDIT

Edit

CHANNEL_SETTING__MEMBERS__TITLE

Members

CHANNEL_SETTING__MEMBERS__SEE_ALL_MEMBERS

All members

CHANNEL_SETTING__MEMBERS__INVITE_MEMBER

Invite users

CHANNEL_SETTING__MEMBERS__YOU

(You)

CHANNEL_SETTING__MEMBERS__SELECT_TITLE

Select members

CHANNEL_SETTING__MEMBERS__OPERATOR

Operator

CHANNEL_SETTING__LEAVE_CHANNEL__TITLE

Leave channel

CHANNEL_SETTING__OPERATORS__TITLE

Operators

CHANNEL_SETTING__OPERATORS__TITLE_ALL

All operators

CHANNEL_SETTING__OPERATORS__TITLE_ADD

Add operator

CHANNEL_SETTING__OPERATORS__ADD_BUTTON

Add

CHANNEL_SETTING__MUTED_MEMBERS__TITLE

Muted members

CHANNEL_SETTING__MUTED_MEMBERS__TITLE_ALL

All muted members

CHANNEL_SETTING__NO_UNMUTED

No muted members yet

CHANNEL_SETTING__BANNED_MEMBERS__TITLE

Banned users

CHANNEL_SETTING__FREEZE_CHANNEL

Freeze Channel

CHANNEL_SETTING__MODERATION__REGISTER_AS_OPERATOR

Register as operator

CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR

Unregister operator

CHANNEL_SETTING__MODERATION__MUTE

Mute

CHANNEL_SETTING__MODERATION__UNMUTE

Unmute

CHANNEL_SETTING__MODERATION__BAN

Ban

CHANNEL_SETTING__MODERATION__UNBAN

Unban

CHANNEL_SETTING__MODERATION__EMPTY_BAN

No banned members yet

CHANNEL_SETTING__MODERATION__ALL_BAN

All banned members

Open channel - Conversation
StringEnglish text

OPEN_CHANNEL_CONVERSATION__TITLE_PARTICIPANTS

participants

OPEN_CHANNEL_CONVERSATION__SELECT_PARTICIPANTS

Select participants

Open channel list
StringEnglish text

OPEN_CHANNEL_LIST__TITLE

Channels

CREATE_OPEN_CHANNEL_LIST__TITLE

New channel profile

CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_SECTION

Channel image

CREATE_OPEN_CHANNEL_LIST__SUBTITLE__IMG_UPLOAD

Upload

CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_SECTION

Channel name

CREATE_OPEN_CHANNEL_LIST__SUBTITLE__TEXT_PLACE_HOLDER

Enter channel name

CREATE_OPEN_CHANNEL_LIST__SUBMIT

Create

Open channel - Settings
StringEnglish text

OPEN_CHANNEL_SETTINGS__OPERATOR_TITLE

Channel Information

OPEN_CHANNEL_SETTINGS__OPERATOR_URL

URL

OPEN_CHANNEL_SETTINGS__PARTICIPANTS_ACCORDION_TITLE

Participants

OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_PANEL

Delete channel

OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_TITLE

Delete channel?

OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_CONTEXT

Once deleted, this channel can't be restored.

OPEN_CHANNEL_SETTINGS__DELETE_CHANNEL_SUBMIT

Delete

OPEN_CHANNEL_SETTINGS__OPERATORS_TITLE

Operators

OPEN_CHANNEL_SETTINGS__OPERATORS__TITLE_ADD

Add operator

OPEN_CHANNEL_SETTINGS__OPERATORS__TITLE_ALL

All operators

OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE

Muted participants

OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__TITLE_ALL

All muted participants

OPEN_CHANNEL_SETTINGS__MUTED_MEMBERS__NO_ONE

No muted participants yet

OPEN_CHANNEL_SETTINGS__BANNED_MEMBERS__TITLE

Banned users

OPEN_CHANNEL_SETTINGS__BANNED_MEMBERS__TITLE_ALL

All banned users

OPEN_CHANNEL_SETTINGS__BANNED_MEMBERS__NO_ONE

No banned users yet

OPEN_CHANNEL_SETTINGS__MEMBERS__YOU

(You)

OPEN_CHANNEL_SETTINGS__MEMBERS__OPERATOR

Operator

OPEN_CHANNEL_SETTINGS__PARTICIPANTS_TITLE

Participants

OPEN_CHANNEL_SETTINGS__EMPTY_LIST

No participants yet

OPEN_CHANNEL_SETTINGS__SEE_ALL

See all participants

OPEN_CHANNEL_SETTINGS__ALL_PARTICIPANTS_TITLE

All participants

OPEN_CHANNEL_SETTINGS__NO_TITLE

(No title)

OPEN_CHANNEL_SETTING__MODERATION__REGISTER_AS_OPERATOR

Register as operator

OPEN_CHANNEL_SETTING__MODERATION__UNREGISTER_OPERATOR

Unregister operator

OPEN_CHANNEL_SETTING__MODERATION__MUTE

Mute

OPEN_CHANNEL_SETTING__MODERATION__UNMUTE

Unmute

OPEN_CHANNEL_SETTING__MODERATION__BAN

Ban

OPEN_CHANNEL_SETTING__MODERATION__UNBAN

Unban

Channel - Common
StringEnglish text

TRYING_TO_CONNECT

Trying to connect…

TYPING_INDICATOR__IS_TYPING

is typing...

TYPING_INDICATOR__AND

and

TYPING_INDICATOR__ARE_TYPING

are typing...

TYPING_INDICATOR__MULTIPLE_TYPING

Several people are typing...

CHANNEL_FROZEN

Channel frozen

PLACE_HOLDER__NO_CHANNEL

No channels

PLACE_HOLDER__WRONG

Something went wrong

PLACE_HOLDER__RETRY_TO_CONNECT

Retry

PLACE_HOLDER__NO_MESSAGES

No messages

TOOLTIP__AND_YOU

, and you

TOOLTIP__YOU

you

TOOLTIP__UNKNOWN_USER

(no name)

UNKNOWN__UNKNOWN_MESSAGE_TYPE

(Unknown message type)

UNKNOWN__CANNOT_READ_MESSAGE

Cannot read this message.

MESSAGE_EDITED

(edited)

Channel - Modal
StringEnglish text

MODAL__DELETE_MESSAGE__TITLE

Delete this message?

MODAL__CHANNEL_INFORMATION__TITLE

Edit channel information

MODAL__CHANNEL_INFORMATION__CHANNEL_IMAGE

Channel image

MODAL__CHANNEL_INFORMATION__UPLOAD

Upload

MODAL__CHANNEL_INFORMATION__CHANNEL_NAME

Channel name

MODAL__CHANNEL_INFORMATION__INPUT__PLACE_HOLDER

Enter name

MODAL__INVITE_MEMBER__TITLE

Invite member

MODAL__INVITE_MEMBER__SELECTED

selected

MODAL__CHOOSE_CHANNEL_TYPE__TITLE

New channel

MODAL__CHOOSE_CHANNEL_TYPE__GROUP

Group

MODAL__CHOOSE_CHANNEL_TYPE__SUPER_GROUP

Super group

MODAL__CHOOSE_CHANNEL_TYPE__BROADCAST

Broadcast

MODAL__CREATE_CHANNEL__TITLE

New channel

MODAL__CREATE_CHANNEL__GROUP

Group

MODAL__CREATE_CHANNEL__SUPER

Super group

MODAL__CREATE_CHANNEL__BROADCAST

Broadcast

MODAL__CREATE_CHANNEL__SELECTED

selected

MODAL__LEAVE_CHANNEL__TITLE

Leave this channel?

MODAL__LEAVE_CHANNEL__FOOTER

Leave

MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_MUTED

You're muted by the operator.

MODAL__VOICE_MESSAGE_INPUT_DISABLED__TITLE_FROZEN

Channel is frozen.

User profile
StringEnglish text

USER_PROFILE__MESSAGE

Message

USER_PROFILE__USER_ID

User ID

EDIT_PROFILE__TITLE

My profile

EDIT_PROFILE__IMAGE_LABEL

Profile image

EDIT_PROFILE__IMAGE_UPLOAD

Upload

EDIT_PROFILE__NICKNAME_LABEL

Nickname

EDIT_PROFILE__NICKNAME_PLACEHOLDER

Enter your nickname

EDIT_PROFILE__USERID_LABEL

User ID

EDIT_PROFILE__THEME_LABEL

Dark theme

Message input
StringEnglish text

MESSAGE_INPUT__PLACE_HOLDER

Enter message

MESSAGE_INPUT__PLACE_HOLDER__DISABLED

Chat is unavailable in this channel

MESSAGE_INPUT__PLACE_HOLDER__MUTED

Chat is unavailable because you're muted

MESSAGE_INPUT__PLACE_HOLDER__MUTED_SHORT

You're muted

MESSAGE_INPUT__QUOTE_REPLY__PLACE_HOLDER

Reply to message

Common UI
StringEnglish text

BUTTON__CANCEL

Cancel

BUTTON__DELETE

Delete

BUTTON__SAVE

Save

BUTTON__CREATE

Create

BUTTON__INVITE

Invite

BUTTON__OK

OK

BADGE__OVER

+

NO_TITLE

No title

NO_NAME

(No name)

NO_MEMBERS

(No members)

Context menu
StringEnglish text

MESSAGE_MENU__COPY

Copy

MESSAGE_MENU__REPLY

Reply

MESSAGE_MENU__THREAD

Reply in thread

MESSAGE_MENU__OPEN_IN_CHANNEL

Open in channel

MESSAGE_MENU__EDIT

Edit

MESSAGE_MENU__RESEND

Resend

MESSAGE_MENU__DELETE

Delete

MESSAGE_MENU__SAVE

Save

Message search
StringEnglish text

SEARCH

Search

SEARCH_IN_CHANNEL

Search in channel

SEARCH_IN

Search in

SEARCHING

Searching for messages...

NO_SEARCHED_MESSAGE

No results found.

Message reply
StringEnglish text

QUOTE_MESSAGE_INPUT__REPLY_TO

Reply to

QUOTE_MESSAGE_INPUT__FILE_TYPE_IMAGE

Photo

QUOTE_MESSAGE_INPUT__FILE_TYPE_GIF

GIF

QUOTE_MESSAGE_INPUT__FILE_TYPE__VIDEO

Video

QUOTED_MESSAGE__REPLIED_TO

replied to

QUOTED_MESSAGE__CURRENT_USER

You

QUOTED_MESSAGE__UNAVAILABLE

Message unavailable

Message threading
StringEnglish text

THREAD__HEADER_TITLE

Thread

CHANNEL__THREAD_REPLY

reply

CHANNEL__THREAD_REPLIES

replies

CHANNEL__THREAD_OVER_MAX

99+

THREAD__THREAD_REPLY

reply

THREAD__THREAD_REPLIES

replies

THREAD__INPUT__REPLY_TO_THREAD

Reply to thread

THREAD__INPUT__REPLY_IN_THREAD

Reply in thread

Mention
StringEnglish text

MENTION_NAME__NO_NAME

(No name)

MENTION_COUNT__OVER_LIMIT

You can mention up to %d times per message.

UI__FILE_VIEWER__UNSUPPORT

Unsupported message

Voice message
StringEnglish text

VOICE_MESSAGE

Voice Message

Channel preview last message file type display strings
StringEnglish text

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_GIF

GIF

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_PHOTO

Photo

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_VIDEO

Video

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_AUDIO

Audio

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_VOICE_MESSAGE

Voice message

CHANNEL_PREVIEW_LAST_MESSAGE_FILE_TYPE_GENERAL

File

import SendbirdProvider from "@sendbird/uikit-react/SendbirdProvider";

const App = () => {
    const [stringSet] = useState({
        'MESSAGE_INPUT__PLACE_HOLDER': 'Saisissez un message.',  // You can display these texts in other languages.
        'MESSAGE_INPUT__PLACE_HOLDER__DISABLED': 'Le chat est indisponible dans ce canal.',
        'MESSAGE_INPUT__PLACE_HOLDER__MUTED': 'Le chat est indisponible parce que vous êtes sous le coup de mute.',
        'CHANNEL__MESSAGE_LIST__NOTIFICATION__NEW_MESSAGE': 'Nouveau(x) message(s) depuis.'
    });

    return (
        <SendbirdProvider
            appId={appId}
            userId={userId}
            stringSet={stringSet}
        >
        ...
        </SendbirdProvider>
    );
}