Customize Strings for Android
The UI SDK provides default text for all the messages that a user can encounter. You can customize the strings in your app using resource files.
This article applies to the following implementations:
To customize these strings in your app, create a
strings.xml resource file in your app using the exact same resource names. To learn about which languages the SDK supports, see Language Support.
|Title for the chat feed view.
|Accessibility label for the chat feed container view.
|Open option menu.
|Content description for the add button in the chat view to open the options menu.
|Content description for a button that is used to resubmit pre-chat fields mid-conversation.
|Fill out a pre-chat form to continue the conversation
|Accessibility announcement when the user needs to enter and resubmit pre-chat fields.
|Chat Feed Input
|Type a message
|Placeholder text inside chat input field.
|Accessibility label for identifying the input control.
|Action text for the send message button.
|A notification that alerts the user that there are new unread messages in the chat feed.
|You have new messages.
|An accessibility announcement that alerts the user that there are new unread messages in the chat feed.
|Scroll to bottom of chat feed.
|The description for the notification badge button that alerts a user that they’ll be brought to the bottom of the feed.
|Agent sent an unsupported message type.
|The message shown when displaying an unknown entry in the chat feed.
|Send a Photo
|Action Menu text for sending a photo.
|Take a Photo
|Action Menu text for taking a photo.
|The accessibility string for the Action Menu to the left of the text input.
|The message auxiliary view that displays the delivered message indicator.
|The message auxiliary view that displays the read message indicator.
|The message auxiliary view that displays the sending message indicator.
|The message auxiliary view that displays the sent message indicator.
|Yesterday • %s
|The message auxiliary view that displays the time information for the day yesterday with the timestamp.
|Today • %s
|The message auxiliary view that displays the time information for the day today with the timestamp.
|Send failed. Tap to retry.
|The message auxiliary view that displays a send failure.
|The concise failed status for accessibility.
|Double tap to retry
|Hint for the user to double tap the message to retry.
|Chatbots can't receive attachments.
|The error message appears when trying to send attachments that aren’t supported.
|Provide additional info to proceed.
|The error message that appears when receiving a 417 error. This message corresponds to needing to resubmit pre-chat fields.
|The accessibility text for identifying messages sent from the local user.
|Message received from %s
|The accessibility announcement text that informs the user when a message has been received.
|The accessibility announcement text that informs the user that their message is sending.
|Waiting to reconnect
|The network connectivity banner text that informs the user the network connection has been lost and is attempting to reconnect.
|Network connectivity is lost, attempting to reconnect
|The accessibility announcement that informs the user when the network connection has been lost and is attempting to reconnect
|The network connectivity banner that will inform the user the network has connected after the network has lost connectivity.
|Network connectivity established
|The accessibility announcement that informs the user when the network is connected after having lost connectivity.
|%@ has started typing
|The accessibility announcement that informs the user when a participant starts typing.
|%@ has stopped typing
|The accessibility announcement that informs the user when a participant stops typing.
|%@ is typing
|The accessibility label for the agent typing indicator.
|Separator used when conjoining information together in a string.
|This string is used when a value or result cannot be determined.
|Cancel action to be used for cancel button and menus throughout the SDK.
|Settings action for permission alerts.
|Size of a file in megabytes.
|Alert title text for the retry message alert.
|Message failed to send. Retry?
|Confirmation text for the retry message alert.
|Retry action for the retry message alert.
|Allow Camera Access
|Alert title text for requesting camera access.
|To use your camera, go to Settings and enable Camera access for this app
|Explanation for how to allow camera permission.
|Attachment limit reached
|Confirmation text for the retry message alert.
|Default string for a participant with no display name or subject configured.
|%s has joined
|The accessibility announcement that informs the user that a participant has joined the conversation.
|%s has joined the conversation
|Notice that a participant has joined the conversation.
|%s has left
|Notice that a participant has joined the conversation.
|%s has left the conversation
|The accessibility announcement that informs the user that a participant has left the conversation.
|The back button for the pre-chat form.
|Label for the None option in a pre-chat choice list.
|This field is required.
|Error message shown when a required field fails pre-chat validation.
|Use a valid email format.
|Error message shown when an email field fails pre-chat validation.
|Field can only contain numbers.
|Error message shown when a number field fails pre-chat validation.
|The string for a pre-chat field label if the field is required.
|Form submitted Tap to review
|Text for pre-chat cell that shows in chat after submitting form.
|Submitted Form Details
|Header for pre-chat submitted form details.
|Chat with an Agent
|The title of the pre-chat submit button.
|Just a few things before we connect you with an expert…
|The title of the pre-chat form.
|This message type isn’t supported.
|The error message that appears when the message type of the message in the chat feed isn’t supported.
|%s is required
|Accessibility text for the pre-chat field if the field is required.
|Back to chat feed
|Accessibility text for hitting the back button on pre-chat submission screen.
|Exit to chat feed
|Accessibility text for hitting the exit button on pre-chat submission screen.
|Accessibility text for when the checkbox is selected.
|Checkbox not selected
|Accessibility text for when the checkbox isn’t selected.
|Accessibility text for an image message in the chat feed or attachment preview.
|Remove image message.
|Accessibility text for the button to remove an image message from the input field.
|Accessibility text for the image preview dialog.
|Close image preview.
|Accessibility text for the button to close the image preview dialog.
|Accessibility text for the button to open the photo gallery.
|Switch lens direction.
|Accessibility text for the button to switch the camera lens direction.
|Accessibility text for the button to capture a photo.
|Camera capturing photo
|Accessibility text for the view that displays the phone camera capturing a photo.
|Jump to photo
|Accessibility text for the jump to photo button in the image viewer.
|Accessibility text for the share button in the image viewer.
|Accessibility text for the download button in the image viewer.
|Shown when the user taps the share button when viewing an image in the attachment viewer.
|Shown when the user taps the share button when viewing a PDF in the attachment viewer.
|Shown when the user taps the share button when viewing a GIF in the attachment viewer.
|Shown in popup when the user clicks the download button and the attachment successfully saves.
|Failed to save attachment
|Shown in popup when the user clicks the download button and the attachment fails to save.
|Allow Photo Access
|Title shown in popup when the user tries to save a photo with denied permission.
|To save photos, go to Settings and enable Photos access for this app.
|Message shown in popup when the user tries to save a photo with denied permission.
|A counter that takes an integer representing the number of file attachments not shown.
|Unsupported file format.
|Message shown if the user sends an unsupported file.
|Attachment is too large. Maximum size is %s
|Message shown if the user sends an attachment that exceeds the maximum size that can be sent. chat.
|Transfer requested at %s
|A system message informing the user that an agent transfer has been requested.
|An agent will be with you shortly.
|Shown when an estimated wait time is available and the routing type is in the initial state.
|Your expected wait time is %s minutes.
|Shown when the estimated wait time is greater than 60 seconds. Rounded up to the nearest minute.
|Your expected wait time is less than one minute.
|Shown when the estimated wait time is less than or equal to 60 seconds.
|Agents are not available. Try again later.
|A default system message informing the user that routing to an agent has failed.
|Nothing here yet
|Message displayed when there’s nothing in the search bar and there are no recent searches.
|No search results
|Message displayed when there are no search results.
|We couldn’t find what you’re looking for. Try searching for something else.
|Message displayed when nothing matches the users search.
|Header for the message search page.
|Header for the recent search list.
|Placeholder text for the search bar.
|Timestamp text for when the message was sent today.
|Timestamp text for when the message was sent yesterday.
|The name shown for the user in the time stamp row.
|You haven't performed a recent search. Enter keywords in the search field.
|Message displayed when there are no search results and no text is entered in the search field.
|The back button for message search.
|Clear search text
|Accessibility text for clearing the search field in message search.
|Accessibility text for the agent avatar in message search search.
|Accessibility text for the user avatar in message search search.
|Accessibility text for the bot avatar in message search search.
|Active loading screen
|A message that is read to the user when a loading screen is shown or when the loading screen is selected.
|The screen reader reads out link preview and then the name of the link.
|Text displayed in the context menu for the copy behavior.
|Text displayed in the context menu for copying an attachment (when selecting part of a conversation entry that includes text and an attachment).
|Text displayed in the context menu for copying text (when selecting part of a conversation entry that includes text and an attachment).
|New chats aren't available outside of business hours
|The message that is shown in the chat feed banner when outside of business hours.
|New chats aren't currently available. Try again during business hours.
|The accessibility announcement that informs the user that they are out of the set business hours and the contact center is closed.
|Participant Client Menu
|Text displayed in the header of the participant client menu. The participant client menu will contain actions a user can take in a chat feed.
|Conversation Options Menus
|The accessibility message for the participant client menu.
|Terms and Conditions
|Message displayed next to the checkbox to accept the Terms and Conditions.
|Accept the Terms and Conditions to continue.
|Error message displayed when the Terms and Conditions are required but not accepted.