Localizing text

This page shows you how to localize or customize strings in the SDK UI.

Strings in the Unified SDK are localized into the following 33 languages. They are listed in Supported languages below.

List of localized strings

To change the default strings in your application, add replacements for the following strings. Make sure to include placeholders in the replacements of any strings that contain them.

Unified SDK

The Unified SDK component contains the following strings:

<resources>
    <string name="zui_attachment_indicator_accessibility">Select an attachment</string>
    <string name="zui_attachment_indicator_n_attachments_selected_accessibility">There are %d attachments selected</string>
    <string name="zui_attachment_indicator_no_attachments_selected_accessibility">There are no attachments selected</string>
    <string name="zui_attachment_indicator_one_attachments_selected_accessibility">There is one attachment selected</string>
    <string name="zui_bot_label">BOT</string>
    <string name="zui_button_label_no">No</string>
    <string name="zui_button_label_yes">Yes</string>
    <string name="zui_cell_text_suggested_article_header">Here\'s an article that may help:</string>
    <string name="zui_cell_text_suggested_articles_header">Here are some articles that may help:</string>
    <string name="zui_default_bot_name">Answer Bot</string>
    <string name="zui_failed_message_copy">Copy</string>
    <string name="zui_failed_message_delete">Delete</string>
    <string name="zui_failed_message_retry">Retry</string>
    <string name="zui_hint_type_message">Type a message…</string>
    <string name="zui_label_dialog_delete_btn">Delete message</string>
    <string name="zui_label_dialog_retry_btn">Retry sending</string>
    <string name="zui_label_failed">Failed</string>
    <string name="zui_label_send">Send</string>
    <string name="zui_label_sent">Sent</string>
    <string name="zui_label_tap_retry">Tap to retry</string>
    <string name="zui_message_log_article_opened_formatter">%1$s opened article \'%2$s\'</string>
    <string name="zui_message_log_article_suggestion_message">I found these articles:</string>
    <string name="zui_message_log_default_visitor_name">Visitor</string>
    <string name="zui_message_log_message_failed_to_send">[Failed to send]</string>
    <string name="zui_message_log_transfer_option_selection_formatter">%1$s selected %2$s</string>
    <string name="zui_retry_button_label">Retry</string>
    <string name="zui_toolbar_title">Contact us</string>
    <string name="zui_label_reconnecting">Reconnecting&#8230;</string>
    <string name="zui_label_reconnecting_failed">Connection failed.</string>
    <string name="zui_message_log_attachment_sending_failed">Attachment could not be sent</string>
    <string name="zui_message_log_message_attachment_type_not_supported">Attachment type not supported</string>
    <string name="zui_message_log_message_attachments_not_supported">Attachments not supported</string>
    <string name="zui_message_log_message_file_exceeds_max_size">Exceeds max file size (%1$s)</string>
</resources>
Answer Bot

The Answer Bot component contains the following strings:

<resources>
    <string name="zab_answer_bot">Answer Bot</string>
    <string name="zab_cell_text_acknowledgement_did_help">Nice. Knowledge is power.</string>
    <string name="zab_cell_text_acknowledgement_did_not_help">I see. Your question is still unresolved.</string>
    <string name="zab_cell_text_answerbot_disabled_header">You can also get in touch.</string>
    <string name="zab_cell_text_answerbot_disabled_response">Uh-oh. Sorry, something\'s up. I can\'t answer questions right now.</string>
    <string name="zab_cell_text_contact_options_header">Would you like to get in touch?</string>
    <string name="zab_cell_text_did_help_ask_again">If there\'s anything else I can find for you, just type another question.</string>
    <string name="zab_cell_text_help_followup_question">Please tell us more. Was the article related to your question?</string>
    <string name="zab_cell_text_inactivity_contact_option_header">Or you can get in touch.</string>
    <string name="zab_cell_text_no_articles">I couldn\'t find any relevant articles.</string>
    <string name="zab_cell_text_prompt">Ask me a question and I\'ll find the answer for you.</string>
    <string name="zab_cell_text_prompt_another_question">Or you can ask another question.</string>
    <string name="zab_cell_text_prompt_another_question_no_transfer_options">You can try asking me another question.</string>
    <string name="zab_cell_text_question_did_article_help_with_question">Did the article you viewed help to answer your question?</string>
    <string name="zab_cell_text_welcome">Hi!</string>
    <string name="zab_error_load_article">Failed to load article</string>
    <string name="zab_hint_type_your_question">Type your question…</string>
    <string name="zab_view_article_help_followup_question">Was the article related to your question?</string>
    <string name="zab_view_article_help_no">No, I need help</string>
    <string name="zab_view_article_help_question">Does this article answer your question?</string>
    <string name="zab_view_article_help_reason_didnt_answer">It\'s related, but didn\'t answer my question</string>
    <string name="zab_view_article_help_reason_not_related">It\'s not related to my question</string>
    <string name="zab_view_article_help_yes">Yes</string>
    <string name="zab_view_article_loaded_accessibility">%s article loaded</string>
    <string name="zui_button_label_no">No</string>
    <string name="zui_button_label_yes">Yes</string>
    <string name="zui_retry_button_label">Retry</string>
</resources>
Chat

The Chat component contains the following strings:

  <resources>
    <string name="zch_chat_comment_acknowledgement">Thank you for the feedback. You can now get back to your chat.</string>
    <string name="zch_chat_comment_composer_hint">Type your comment&#8230;</string>
    <string name="zch_chat_ended">Chat ended</string>
    <string name="zch_chat_handover_message_selection">Chat with an agent</string>
    <string name="zch_chat_rating_comment_action_label">Add a comment</string>
    <string name="zch_chat_rating_comment_prompt_message">We value your feedback. If you like, you can also add a comment with more detail.</string>
    <string name="zch_chat_rating_label_bad">Bad