Strings
You can override any string in Flex by editing the strings object on the Flex Manager instance.
Language strings can technically contain any HTML tag like h1
, h2
, p
or even iframe
.
The Flex UI will not filter these values. Flex uses Handlebars for templating and supports Mustache-style syntax and
expressions within content strings, ie. embedding value placeholders between double braces { }
.
Example:
flex.Manager.getInstance().strings.TaskLineCallAssigned = "I am a content string!";
// QuestionnaireAnsweredCount has a default value: "{{count}} of {{total}} Answered"// That means we can use "{{count}}" and "{{total}}" expressions for this string.flex.Manager.getInstance().strings.QuestionnaireAnsweredCount = "{{count}}/{{total}}"
InputPlaceHolder: T#
Text shown in the edit box when no content has been entered.
Default Value:
Type message
TypingIndicator: T#
Text used for typing indicator. For example "Bob is typing"
Default Value:
<span class='typer-name'>{{name}}</span> is typing
TypingIndicatorMultiple: T#
Text used for typing indicator, when more than 1 person is typing. For example "3 people are typing"
Default Value:
{{count}} people are typing
Disconnected: T#
Text shown on banner when Programmable Chat is disconnected
Default Value:
Connection lost
MessageSendingDisabled: T#
Text shown if sending messages has been disabled
Default Value:
Message sending has been disabled
Yesterday: T#
Text shown in message list to group messages from yesterday's date
Default Value:
Yesterday
MessageCanvasTrayContent: T#
Text shown in (MessageCanvasTray)[MessageCanvasTray]
MessageCanvasTrayButton: T#
Text shown on the button in (MessageCanvasTray)[MessageCanvasTray]
Default Value:
START NEW CHAT
MediaMessageError: T#
Error shown when media message is received in chat
Default Value:
Media messages are not supported
NotificationMessage: T#
Text shown in notification message. Custom error message denoted by {{message}}
Default Value:
Unable to perform action: {{message}}
MessageCharacterCountStatus: T#
Text showing current and maximum character count
Default Value:
{{currentCharCount}} / {{maxCharCount}}
MessageCharacterCountReached: T#
Text shown when maximum character count is reached
Default Value:
Character count reached - {{currentCharCount}} / {{maxCharCount}}
EmailContentSizeStatus: T#
Text showing current and maximum character count
Default Value:
Content size- {{currentContentSizeInPercent}}%
EmailContentSizeReached: T#
Text shown when maximum character count is reached
Default Value:
Max content size reached.
FieldValidationRequiredField: T#
Text displayed when a required field is not filled
Default Value:
Field required
FieldValidationInvalidEmail: T#
Text displayed when an "email" field doesn't receive a valid email
Default Value:
Please provide a valid email address
ChatInputUserNotMemberDisabledText: T#
Text displayed when when user is not a member of the chat
Default Value:
You are not a chat participant
FilterItemAmountSelected: T#
Text to indicate a number of items is selected in filterItem (# selected)
Default Value:
{{amount}} selected
FilterItemOnly: T#
Text to indicate no item is selected in filterItem (# only)
Default Value:
{{item.label}} only
LegacyFiltersTitle: T#
Title of the section in the Teams View filter panel that displays the legacy filter dropdown
Default Value:
Custom Filters
LegacyFiltersEmptySelectLabel: T#
Legacy filter selection dropdown option in Teams View filter panel indicating empty selection
Default Value:
None
DialpadNum0Caption: T#
Text shown instead of caption for number 0 in Dialpad component
Default Value:
0
DialpadNum0Description: T#
Text shown instead of description for number 0 in Dialpad component
Default Value:
+
DialpadNum1Caption: T#
Text shown instead of caption for number 1 in Dialpad component
Default Value:
1
DialpadNum1Description: T#
Text shown instead of description for number 1 in Dialpad component
Default Value:
—
DialpadNum2Caption: T#
Text shown instead of caption for number 2 in Dialpad component
Default Value:
2
DialpadNum2Description: T#
Text shown instead of description for number 2 in Dialpad component
Default Value:
ABC
DialpadNum3Caption: T#
Text shown instead of caption for number 3 in Dialpad component
Default Value:
3
DialpadNum3Description: T#
Text shown instead of description for number 3 in Dialpad component
Default Value:
DEF
DialpadNum4Caption: T#
Text shown instead of caption for number 4 in Dialpad component
Default Value:
4
DialpadNum4Description: T#
Text shown instead of description for number 4 in Dialpad component
Default Value:
GHI
DialpadNum5Caption: T#
Text shown instead of caption for number 5 in Dialpad component
Default Value:
5
DialpadNum5Description: T#
Text shown instead of description for number 5 in Dialpad component
Default Value:
JKL
DialpadNum6Caption: T#
Text shown instead of caption for number 6 in Dialpad component
Default Value:
6
DialpadNum6Description: T#
Text shown instead of description for number 6 in Dialpad component
Default Value:
MNO
DialpadNum7Caption: T#
Text shown instead of caption for number 7 in Dialpad component
Default Value:
7
DialpadNum7Description: T#
Text shown instead of description for number 7 in Dialpad component
Default Value:
PQRS
DialpadNum8Caption: T#
Text shown instead of caption for number 8 in Dialpad component
Default Value:
8
DialpadNum8Description: T#
Text shown instead of description for number 8 in Dialpad component
Default Value:
TUV
DialpadNum9Caption: T#
Text shown instead of caption for number 9 in Dialpad component
Default Value:
9
DialpadNum9Description: T#
Text shown instead of description for number 9 in Dialpad component
Default Value:
WXYZ
DialpadHashDescription: T#
Text shown instead of description for hash in Dialpad component
DialpadAsteriskCaption: T#
Text shown instead of caption for asterisk in Dialpad component
Default Value:
*
DialpadAsteriskDescription: T#
Text shown instead of description for asterisk in Dialpad component
NewChatMessageNotificationTitle: T#
Text shown in the browser notification title for a new chat message
Default Value:
New message from {{lastMessage.authorName}}
NewChatMessageNotificationBody: T#
Text shown in the browser notification body for a new chat message
Default Value:
{{#if lastMessage.source.body}} {{lastMessage.source.body}} {{else}} file sent {{/if}}
SendMediaMessageInvalidType: T#
Text shown in notification when message with invalid file type is sent
Default Value:
{{fileName}} file type is not supported
SendMediaMessageInvalidSize: T#
Text shown in notification when message with invalid size is sent
Default Value:
{{fileName}} is too large. Max file size {{maxFileSize}}.
AttachFileMultipleFailure: T#
Text shown in notification when multiple files fail to attach
Default Value:
{{failureCount}} files failed to attach.
AttachFileMultipleFailureExpandLink: T#
Link text shown in notification when multiple files fail to attach
AttachFileDuplicate: T#
Text shown in notification when duplicate file is attached
Default Value:
{{fileName}} is already attached
AttachFileInvalidType: T#
Text shown in notification when invalid file type is attached
Default Value:
{{fileName}} file type is not supported
AttachFileInvalidSize: T#
Text shown in notification when invalid file size is attached
Default Value:
{{fileName}} is too large. Max file size {{maxFileSize}}.
AttachFileInvalidOverallSize: T#
Text shown in notification when the overall size of the attachments would go above the limit
Default Value:
Too many files. Max {{maxOverallFileSize}} per message.
AttachFileInvalidMaxAmount: T#
Text shown in notification when maximum amount of attachment has been reached
AttachFileMultipleNotSupported: T#
Text shown in notification when multiple attachments are attempted but not supported
Default Value:
Please attach one file at a time.
AttachFileDisabled: T#
Text shown in notification when attachments have been disabled via service config
Default Value:
File attachments are currently unavailable
DownloadFileInvalidType: T#
Text shown in notification when invalid file type is downloaded
Default Value:
{{fileName}} file type is not supported
DownloadFileInvalidSize: T#
Text shown in notification when invalid file size is downloaded
Default Value:
{{fileName}} is too large. Max file size {{maxFileSize}}.
MediaMessageTransferFailed: T#
Text shown in media message when the file fails to be sent
Default Value:
Sending failed
MessageDeliveryFailed: T#
Text shown in message bubble when the message is failed
Default Value:
Message failed
MessageDeliveryUnDelivered: T#
Text shown in message bubble when the message is undelivered
Default Value:
Message undelivered
MessageTypeUnsupportedOrEmpty: T#
Text shown in message bubble when the message is unsupported or empty
Default Value:
Empty or unsupported content.
AttachFileImageTooltip: T#
Tooltip used on send media message icon button
Default Value:
Attach file or image
ManageAgentsToQueueBreadCrumb: T#
Assign Agents Breadcrumb in the queue management view
Default Value:
Manage Agents
FileAttachmentDropAreaTitle: T#
Main line of text of FileAttachment drop area
Default Value:
Attach a file or an image
FileAttachmentDropAreaTitleDisabled: T#
Main line of text of FileAttachment drop area when disabled
Default Value:
File attachments are disabled.
FileAttachmentDropAreaTitleFileLimitReached: T#
Main line of text of FileAttachment drop area when file count limit reached
Default Value:
Attachment limit of {{fileCountLimit}} {{#if singular}}file{{else}}files{{/if}} has already been reached.
FileAttachmentDropAreaSubtitle: T#
Secondary line of text of FileAttachment drop area
Default Value:
Drop file here
FileAttachmentDropAreaSubtitleDisabled: T#
Secondary line of text of FileAttachment drop area when disabled
Default Value:
Drag and drop is currently unavailable.
FileAttachmentDropAreaSubtitleFileLimitReached: T#
Secondary line of text of FileAttachment drop area when file count limit reached
Default Value:
Send this message first then attach another file.
DefaultUserImageAriaLabel: T#
Default User Image aria label
Default Value:
Default User Image. User is {{status}}.
CloseOutboundDialerPadAriaLabel: T#
Close Outbound Dialer Pad aria label
Default Value:
Close outbound dialpad
UserCardAriaLabel: T#
User Card aria label
Default Value:
User {{fullName}} with status {{activityName}}.
NotificationActionItemAriaLabel: T#
Notification Action Item aria label
Default Value:
{{type}} {{task}} task
CloseIconNotificationAriaLabel: T#
Close Icon Notification aria label
Default Value:
Close notification
NotConnectedSendMessageAriaLabel: T#
Send Button message 'Not Connected' aria label
Default Value:
Send Button. Cannot send message. Not connected
NoInputSendMessageAriaLabel: T#
Send Button message 'No Input' aria label
Default Value:
Send Button. Cannot send message. No message or attachment
CharLimitReachedSendMessageAriaLabel: T#
Send Button message. 'Character count reached' aria label
Default Value:
Send Button. Cannot send message. Character count reached - {{currentCharCount}} / {{maxCharCount}}
RemoveAttachedFileAriaLabel: T#
Remove Attached File aria label
Default Value:
Remove attached file {{fileName}}
DisabledRemoveAttachedFileAriaLabel: T#
Disabled Remove Attached File aria label
Default Value:
Remove attached file {{fileName}} cannot be performed as {{placeholder}}
AttachedFileLimitAriaLabel: T#
Attach File Button 'Cannot Attach File due to maximum number of file attachments has been reached' aria label
Default Value:
Attach File Button. Cannot attach file. Maximum number of file attachments has been reached.
NoMessagesConversationAriaLabel: T#
Attach File Button 'Cannot attach file Conversation is empty' aria label
Default Value:
Attach File Button. Cannot attach file. Conversation is empty.
DisabledAttachFileButtonAriaLabel: T#
Attach File Button 'Cannot attach file as disabled' aria label
Default Value:
Attach File Button. Cannot attach file as {{disabledReason}}.
DisabledSendButtonAriaLabel: T#
Send Button 'Cannot send message as disabled' aria label
Default Value:
Send Button. Cannot send message as {{disabledReason}}.
MessageInputDisabledAriaLabel: T#
Message Input 'Cannot enter input as disabled' aria label
Default Value:
Message Input. Cannot enter input as {{placeholder}}.
QualityManagementPopoverMenuButtonAriaLabel: T#
Popover menu button aria label in Quality Management views
Default Value:
More actions
SendMessageFailed: T#
Error message text for chat message sending failures
Default Value:
Could not send message. Please try again.
SendEmailFailed: T#
Error message text for email sending failures
Default Value:
Could not send email. Please try again. Reason - {{message}}
NoContent: T#
Label text for no content body
TransferItemHeaderFull: T#
Transfer item receiving header
Default Value:
Conversation transfer request made to {{receivingAgent}}
TransferItemHeaderMinimal: T#
Channel Type header in transfer
Default Value:
Conversation transfer request made
TransferItemHeaderChannelTypeOnly: T#
Channel Type header in transfer
Default Value:
{{channelType}} transferred
TransferItemHeaderReceivingAgentOnly: T#
Transfer item receiving header
Default Value:
Transferred to {{receivingAgent}}
IframeUnloadingMessage: T#
Text for when Unloading Iframe
Default Value:
This iframe is trying to navigate away.
TeamsViewFilterRemoveFilters: T#
Text for Label Remove Filters on Teams view Filter panel
Default Value:
Remove filters