Live UIKit Android v1
Live UIKit Android
Live UIKit
Android
Version 1

String resource

Copy link

The following table contains all the strings that appear on the Live UIKit views. You can customize these strings by changing the UIKit-defined values in the res/strings.xml file, which consists of the following xml elements.

<resources>
    <string name="app_name">live-uikit-android</string>

    <!-- Button -->
    <string name="sb_live_button_take_photo">Take photo</string>
    <string name="sb_live_button_photo_library">Choose photo</string>
    <string name="sb_live_button_remove_photo">Remove photo</string>
    <string name="sb_live_button_choose_photo">Choose photo</string>
    <string name="sb_live_button_host">Hosts</string>

    <!-- Create live event fragment -->
    <string name="sb_live_live_event_create_header_title">New live event</string>
    <string name="sb_live_live_event_create_header_right_button">Create</string>
    <string name="sb_live_live_event_create_event_title">Title</string>
    <string name="sb_live_live_event_create_event_title_placeholder">Add a title</string>
    <string name="sb_live_live_event_create_event_users_for_host">Users who can be host</string>

    <!-- User Ids for host list fragment -->
    <string name="sb_live_list_users_for_host_header_title">Users who can be host</string>
    <string name="sb_live_add_users_for_host_dialog_title">Add user</string>
    <string name="sb_live_add_users_for_host_dialog_body">Add users by user IDs to be host. You can\&#39;t edit the list of users who can host after the event has been created.</string>
    <string name="sb_live_add_users_for_host_user_id_placeholder">Enter user ID</string>
    <string name="sb_live_list_users_for_host_remove_user">Remove</string>
    <string name="sb_live_cannot_remove_my_user_id_from_hosts">My user ID cannot be removed from host list</string>
    <string name="sb_live_list_host_tag">Host</string>

    <!-- Select host user fragment -->
    <string name="sb_live_add_users_for_host_header_title">Users</string>
    <string name="sb_live_user_search_no_match_description">No matches found with \"%s\"</string>
    <string name="sb_live_user_search_no_users_description">There are no users</string>
    <string name="sb_live_user_search_error_description">Something went wrong. Try again.</string>

    <!-- Live event detail fragment -->
    <string name="sb_live_live_event_information_title">Live event information</string>
    <string name="sb_live_live_event_information_participants">Participants</string>
    <string name="sb_live_freeze_channel">Freeze chat</string>
    <string name="sb_live_freeze_channel_description">Only operators can send a message. This doesn\&#39;t stop the live event.</string>
    <string name="sb_live_live_event_id">Live event ID</string>
    <string name="sb_live_live_event_information_created_at">Created on</string>
    <string name="sb_live_live_event_information_created_by">Created by</string>
    <string name="sb_live_live_event_information_started_on">Started on</string>
    <string name="sb_live_live_event_information_started_by">Started by</string>
    <string name="sb_live_live_event_information_change_title">Change title</string>
    <string name="sb_live_live_event_information_change_cover_image">Change cover image</string>
    <string name="sb_live_live_event_information_change_event_title">Change event title</string>
    <string name="sb_live_live_event_information_change_event_title_placeholder">Enter title</string>
    <string name="sb_live_users_for_host_description">Any one of the users in the list below can act as a host for the live event. If the current host leaves the event, another user can act as the host.</string>
    <string name="sb_live_live_event_information_title_placeholder">Live event</string>

    <!-- LiveEvent list fragment -->
    <string name="sb_live_list_header_title">Live event</string>
    <string name="sb_live_list_header_right_button">Create</string>
    <string name="sb_live_event_status_created">UPCOMING</string>
    <string name="sb_live_event_status_ready">OPEN</string>
    <string name="sb_live_event_status_ongoing">LIVE</string>
    <string name="sb_live_event_status_ended">ENDED</string>
    <string name="sb_live_list_host_nickname_empty_placeholder">—</string>
    <string name="sb_live_list_host_nickname_default_placeholder">Host</string>
    <string name="sb_live_list_empty_description">No live events</string>
    <string name="sb_live_live_event_enter_role_dialog_title">Choose your role</string>
    <string name="sb_live_live_event_enter_role_dialog_option_host">Host</string>
    <string name="sb_live_live_event_enter_role_dialog_option_participant">Participant</string>
    <string name="sb_live_list_title_default_placeholder">Live event</string>

    <!-- Live event fragment -->
    <string name="sb_live_start_live_event_header_button">Start</string>
    <string name="sb_live_live_event_title_default_placeholder">Live event</string>
    <string name="sb_live_live_event_end_dialog_title">End live event?</string>
    <string name="sb_live_live_event_end_dialog_option_end">End live event</string>
    <string name="sb_live_live_event_end_dialog_option_exit">Exit without ending</string>
    <string name="sb_live_event_end_dialog_option_cancel">Cancel</string>
    <string name="sb_live_participant_count_affix">%s participants</string>
    <string name="sb_live_live_event_ready_banner_description">Live event will begin soon.</string>
    <string name="sb_live_live_event_live_banner_host_muted_description">Host is muted.</string>
    <string name="sb_live_live_event_live_banner_host_unavailable_description">Host is temporarily unavailable.</string>
    <string name="sb_live_live_event_ended_description">Live event has ended.</string>
    <string name="sb_live_live_event_enter_alert_created_state_description">This live event will open soon.</string>
    <string name="sb_live_live_event_enter_alert_description">You cannot enter events that are in the %s state.</string>
    <string name="sb_live_live_event_ended_enter_dialog_description">Can\&#39;t enter an ended live event.</string>

    <!-- Live event setup fragment -->
    <string name="sb_live_live_event_setup_header_title">Live event setup</string>
    <string name="sb_live_live_event_setup_ready_description">When you enter, the live event will be open to participants and they can also enter to chat only.</string>
    <string name="sb_live_live_event_setup_right_button">Enter</string>
    <string name="sb_live_apply_button">OK</string>
    <string name="sb_live_cancel_button">Cancel</string>
    <string name="sb_live_camera_device">Camera</string>
    <string name="sb_live_audio_device">Audio device</string>

    <!-- Live event summary fragment -->
    <string name="sb_live_live_event_summary_title_default_placeholder">Live event</string>
    <string name="sb_live_live_event_summary_total_participants">Total participants</string>
    <string name="sb_live_live_event_summary_peak_concurrent_participants">Peak concurrent participants</string>
    <string name="sb_live_live_event_summary_duration">Duration</string>

    <!-- Device name -->
    <string name="sb_live_camera_device_back">Back</string>
    <string name="sb_live_camera_device_front">Front</string>
    <string name="sb_live_camera_device_external">External</string>
    <string name="sb_live_camera_device_unknown">Unknown</string>
    <string name="sb_live_audio_device_earpiece">Earpiece</string>
    <string name="sb_live_audio_device_speakerphone">Speakerphone</string>
    <string name="sb_live_audio_device_wired_headset">Wired headset</string>
    <string name="sb_live_audio_device_bluetooth">Bluetooth</string>

    <!--  Permission  -->
    <string name="sb_live_permission_dialog_title">Allow permission</string>
    <string name="sb_live_permission_dialog_message_for_camera">"Sendbird Live" Would Like to Access the Camera\n This will allow you to use camera in a live event.</string>
    <string name="sb_live_permission_dialog_message_for_camera_and_audio">"Sendbird Live" Would Like to Access the Camera and Audio\n This will allow you to use camera and audio in a live event.</string>
    <string name="sb_live_permission_dialog_apply">OK</string>
    <string name="sb_live_permission_dialog_deny">Don\&#39;t Allow</string>
    <string name="sb_live_permission_dialog_denied_title">Allow permission</string>
    <string name="sb_live_permission_dialog_denied_message">To allow %1$s to use %2$s, go to App info</string>
    <string name="sb_live_permission_dialog_denied_apply">App info</string>
    <string name="sb_live_permission_dialog_denied_deny">Cancel</string>
    <string name="sb_live_permission_text_camera">CAMERA</string>
    <string name="sb_live_permission_text_record_audio">RECORD AUDIO</string>
    <string name="sb_live_permission_text_call_phone">CALL PHONE</string>
    <string name="sb_live_permission_text_read_phone_state">READ PHONE STATE</string>
    <string name="sb_live_permission_text_bluetooth_admin">BLUETOOTH ADMIN</string>
    <string name="sb_live_permission_text_bluetooth">BLUETOOTH</string>
    <string name="sb_live_permission_text_bluetooth_connect">BLUETOOTH CONNECT</string>
    <string name="sb_live_permission_text_unknown">etc</string>

    <string name="sb_live_dialog_apply">OK</string>
</resources>

Customize strings

Copy link

Use the following code to customize the strings. For example, find sb_text_button_take_photo in the string.xml file and enter a text string of your choice, such as "Take pictures," to replace the default value.

<resources>
    <string name="sb_text_button_take_photo">Take pictures</string>
</resources>