Skip to main content
Version: 5.21.0

Localization

To override SDK string resources, add them with the same name to your app's strings.xml — the Android Resource Merger will substitute the SDK value during the build. The file is located at res/values-<locale>/strings.xml (e.g., values-ru/ for the Russian locale; see Supporting different languages).

Default values

In the tables below, the "Default value" column shows the text from values-ru/strings.xml (the Russian locale). For other locales, the default value is the text from values/strings.xml (English) — for example, for ecc_push_title it is Threads, not ChatCenter; for ecc_empty_chat_placeholder_titleWelcome!, not Добро пожаловать.

Some keys are defined simultaneously in the chatcenter-core and chatcenterui modules (ecc_alert_timeout_message, ecc_chat_client_name, ecc_chat_title_waiting_for_specialist, ecc_error_when_history_load, ecc_errors_during_load_file, ecc_settings_not_loaded) — overriding in the app's strings.xml covers both copies thanks to the standard Android Resource Merger.

Reserved keys

Some keys are marked in the tables as "Reserved." — these keys are defined in the SDK's strings.xml, but there are no references to them (R.string.<key> / @string/<key>) in the chatcenterui/chatcenter-core modules' code. Overriding such keys in the app's strings.xml will have no effect on the UI until the SDK starts using them.

Localization keys

Actions and buttons

KeyDefault valueUsage example / NotesUsage
ecc_action_title_repeatПовторитьSDK init retry buttonUsage
ecc_action_title_cancelОтменаCancel button while recording a voice messageUsage
ecc_action_title_yesДаRating on responseUsage
ecc_action_title_noНетRating on responseUsage
ecc_permissions_access_allowРазрешитьPermission requestUsage
ecc_permissions_close_dialogЗакрытьDialog close buttonUsage
ecc_alert_resend_failed_
message_retry_btn
Повторить отправкуMessage menuUsage
ecc_alert_resend_failed_
message_delete_btn
УдалитьMessage menuUsage

Chat and titles

KeyDefault valueUsage example / NotesUsage
ecc_chat_title_workingКонтакт центрChat titleUsage
ecc_chat_title_openedКонтакт центрTitle of an opened chatUsage
ecc_chat_title_
waiting_for_specialist
Поиск оператора…Waiting status in the toolbarUsage
ecc_chat_title_typingоператор печатает…Typing indicator in the toolbarUsage
ecc_chat_title_
unknown_operator
НеизвестныйReserved. Intended — operator name when not provided by the serverUsage
ecc_chat_title_connectingПодключение...Toolbar title during automatic WebSocket reconnect
ecc_chat_client_nameВыUser name (in quotes)Usage
ecc_operator_botБотBot nameUsage
ecc_chat_available_
readonly_text
Данный чат доступен только для просмотраRead-only modeUsage

Attachments menu

KeyDefault valueUsage example / NotesUsage
ecc_attachments_
menu_take_photo
КамераBottom menu itemUsage
ecc_attachments_
menu_my_albums
ГалереяBottom menu itemUsage
ecc_attachments_menu_filesФайлBottom menu itemUsage

Messages and statuses

KeyDefault valueUsage example / NotesUsage
ecc_message_system_
leave_chat_female
покинула диалог вReserved. System (female)Usage
ecc_message_system_
leave_chat_male
покинул диалог вReserved. System (male)Usage
ecc_message_system_
join_chat_female
подключилась к диалогу вReserved. System (female)Usage
ecc_message_system_
join_chat_male
подключился к диалогу вReserved. System (male)Usage
ecc_message_system_
date_recently
НедавноMessage timeUsage
ecc_message_system_
date_yesterday
ВчераReserved. Intended — "Yesterday" timestampUsage
ecc_message_deleted_textСообщение удаленоPlaceholder for a deleted messageUsage
ecc_message_system_
quote_content_descr
ЦитатаFor TalkBack

Input and recording

KeyDefault valueUsage example / NotesUsage
ecc_input_placeholderВаше сообщение…Input field hintUsage
ecc_input_voice_
recording_hint
Удерживайте, чтобы начать записьMicrophone hintUsage
ecc_message_voice_
slide_to_cancel
Влево - отменаVoice recording animation (swipe left to cancel)Usage
KeyDefault valueUsage example / NotesUsage
ecc_search_
placeholder_title
Поиск сообщенийSearch input fieldUsage
ecc_search_
not_found_title
Результатов не найденоNo messages found in searchUsage

Push notifications

KeyDefault valueUsage example / NotesUsage
ecc_push_titleChatCenterNotification titleUsage

Survey

KeyDefault valueUsage example / NotesUsage
ecc_survey_message_
ask_for_rate
Пожалуйста, оцените качество нашего сервисаSurvey titleUsage
ecc_survey_message_
thanks_title
Спасибо за вашу оценкуThanks after the survey is completedUsage
ecc_survey_thanks_
for_buttons_survey
Спасибо за участие в опросеThanks after the survey is completedUsage
ecc_survey_item_
user_rate_header
Оценка решения вопросаHeader during the surveyUsage
ecc_survey_request_
close_thread_message
Специалист ответил на все ваши вопросы, продолжить консультацию?Thread close dialog

Empty screen

KeyDefault valueUsage example / NotesUsage
ecc_empty_chat_
placeholder_title
Добро пожаловатьWelcome screen titleUsage
ecc_empty_chat_
placeholder_desc
Отправьте ваш вопросWelcome screen subtitleUsage
ecc_empty_chat_
placeholder_subtitle
Инициализация клиентаInitialization loaderUsage
ecc_empty_chat_
loading_state
ЗагрузкаLoader textUsage
ecc_restoring_stateВосстановление состояния…Caption on the full-screen view the SDK shows if the chat is opened before initialization completes

Permissions

KeyDefault valueUsage example / NotesUsage
ecc_permissions_helpПомощьDialog titleUsage
ecc_permissions_
string_help_text
Отсутствуют разрешения.\n\nЧтобы предоставить разрешения, нажмите "Настройки", затем "Разрешения" и включите их.\n\nЗатем вернитесь в приложение.General dialog textUsage
ecc_permissions_camera_
and_write_external_
storage_help_text
Отсутствуют разрешения на Камеру и Память (Запись на внешнее хранилище).\n\nЧтобы предоставить разрешения, нажмите "Настройки", затем "Разрешения" и включите их.\n\nЗатем вернитесь в приложение.General dialog textUsage
ecc_permissions_write_
external_storage_
help_text
Отсутствует разрешение на Память (Запись на внешнее хранилище).\n\nЧтобы предоставить разрешения, нажмите "Настройки", затем "Разрешения" и включите их.\n\nЗатем вернитесь в приложение.General dialog textUsage
ecc_permissions_record_
audio_help_text
Отсутствует разрешение на Аудиозапись (Микрофон).\n\nЧтобы предоставить разрешения, нажмите "Настройки", затем "Разрешения" и включите их.\n\nЗатем вернитесь в приложение.General dialog textUsage
ecc_permissions_settingsНастройкиNavigation buttonUsage
ecc_permission_description_
access_to_files_title
Разрешите приложению доступ к файлам на вашем устройствеPermission request rationaleUsage
ecc_permission_description_
access_to_files_message
Это необходимо для отправки файловPermission request rationaleUsage
ecc_permission_description_
access_to_audio_
recording_title
Разрешите приложению записывать аудиоPermission request rationaleUsage
ecc_permission_description_
access_to_audio_
recording_message
Это необходимо для отправки голосовых сообщенийPermission request rationaleUsage
ecc_permission_description_
access_to_camera_title
Разрешите приложению снимать фотоPermission request rationaleUsage
ecc_permission_description_
access_to_camera_message
Это необходимо для отправки фотоPermission request rationaleUsage

Errors and alerts

KeyDefault valueUsage example / NotesUsage
ecc_alert_camera_
not_found
На Вашем устройстве не найдена камераReserved. Intended — error when no camera is availableUsage
ecc_alert_camera_
could_not_start_error
Не удалось запустить приложение камерыCamera errorUsage
ecc_alert_file_sending_
denied_desc
Отправка файлов отключена на сервереFile send error (no permission)Usage
ecc_alert_resend_failed_
message_desc
Сообщение не было отправленоToast on message send errorUsage
ecc_alert_text_
copied_message
Текст скопирован в буфер обменаNotification on text copyUsage
ecc_alert_history_loading_
message_when_search
Выполняется загрузка сообщений из истории, подождите завершенияReserved. Intended — notification of message loading (e.g., during search)Usage
ecc_alert_timeout_messageПревышен интервал ожидания для запросаFull-screen errorUsage
ecc_alert_saving_logsСохраняем логи, пожалуйста, подождитеMessage while saving logs after a shake gestureUsage
ecc_errors_no_file_errorФайл удалён на сервереErrorUsage
ecc_errors_check_connectionПроблемы с доступом в интернет, проверьте соединениеNetwork errorUsage
ecc_errors_message_not_sentСообщение не отправлено, проверьте настройки подключенияSend errorUsage
ecc_error_when_history_loadОшибка при загрузке истории сообщенийErrorUsage
ecc_errors_not_allowed_
file_extension
Недопустимый формат файлаErrorUsage
ecc_errors_voice_
message_error
Ошибка обработки голосового сообщенияErrorUsage
ecc_errors_disallowed_
file_loading
Загрузка файла не выполнена. Не удалось проверить файлErrorUsage
ecc_errors_timeout_
during_load_file
Не удалось завершить загрузку файла, истек таймаут.\nПопробуйте загрузить файл позжеErrorUsage
ecc_errors_unexpected_
error_during_load_file
Не удалось завершить загрузку файла.\nПопробуйте отправить файл позжеReserved. Intended — error on an unexpected file upload failureUsage
ecc_errors_during_load_fileПроизошла ошибка при загрузке\nили проверке файлаErrorUsage
ecc_errors_when_chat_initОшибка при инициализации чатаErrorUsage
ecc_errors_request_failedНе удалось выполнить запрос, попробуйте повторитьErrorUsage
ecc_settings_not_loadedНе удалось загрузить настройки чатаErrorUsage
ecc_errors_load_configНе удалось загрузить настройки вложенийReserved. Intended — error loading attachment settingsUsage
ecc_errors_code_
from_400_to_500_title
Извините за неудобства, чат в данный момент недоступен. Пожалуйста, попробуйте позднее.Reserved. Intended — global 4xx/5xx errorUsage
ecc_errors_library_not_initChatCenter SDK не инициализированErrorUsage
ecc_message_send_file_
limit_alert_message
Превышен размер файла (%1$d МБ)Client-side size validation before send. Keep the %1$d placeholder — without it, the string will crash at runtimeUsage

Files and miscellaneous

KeyDefault valueUsage example / NotesUsage
ecc_attachments_
failed_to_open_file
Невозможно открыть выбранный файлFile open errorUsage
ecc_attachments_
saved_to_downloads
Сохранено в ЗагрузкиSuccessful image download on the full-view screenUsage
ecc_attachments_
unable_to_save_file
Сейчас невозможно сохранить файлSave errorUsage

Accessibility (TalkBack)

KeyDefault valueUsage example / NotesUsage
ecc_content_descr_
search_talkback_icon
Иконка поискаReserved. Intended — description of the search icon for TalkBack
ecc_content_descr_
operator_avatar
Аватар оператораElement description. Not displayed in the UI. Part of the Android accessibility system (element voice-over)
ecc_content_descr_
play_button
Кнопка воспроизведенияElement description. Not displayed in the UI. Part of the Android accessibility system (element voice-over)
ecc_content_descr_
loading_animation
ЗагрузкаElement description. Not displayed in the UI. Part of the Android accessibility system (element voice-over)
ecc_content_descr_
error_image
Изображение с ошибкойElement description. Not displayed in the UI. Part of the Android accessibility system (element voice-over)
ecc_content_descr_info_btnКнопка информацииElement description. Not displayed in the UI. Part of the Android accessibility system (element voice-over)

Additional keys

Below are the string resources defined in the SDK modules' strings.xml that are not included in the main categories above.

Module chatcenterui

KeyDefault value (values-ru/)Purpose
ecc_attachments_file_time_label_prepositionвPreposition in a file time label ("saved at 12:30")
ecc_attachments_file_downloadЗагрузитьThe "Download" action next to an attachment
ecc_message_system_quote_imageизображение"image" label in a quote of a message with a picture
ecc_message_voice_titleГолосовое сообщениеVoice message title
ecc_message_photoФото"Photo" label (e.g., in a quote of a message with a photo)
ecc_message_voice_is_processingГолосовое сообщение обрабатываетсяVoice message processing state
ecc_push_channel_nameКонтакт центрAndroid notification channel name (visible in system app settings)
ecc_survey_message_vote_from_titleизThe "of" word in the "4 of 5" survey rating scale
ecc_survey_popup_closeЗакрытьSurvey popup close button
ecc_survey_popup_sendОтправитьSurvey result submit button
ecc_survey_popup_textbox_hintВаш комментарийSurvey comment field hint
ecc_alert_back_camera_could_not_start_errorНе удалось запустить тыльную камеруReserved. Intended — error starting the back camera
ecc_search_filesИскать файлыReserved. Intended — file search title

Module chatcenter-core

KeyDefault value (values-ru/)Purpose
ecc_message_status_not_deliveredНе доставленоStatus of an undelivered message
ecc_attachments_download_media_descriptionChatCenterSource description when saving media to the system Downloads
ecc_attachments_bytesБFile size unit — bytes
ecc_attachments_kbytesКБFile size unit — kilobytes
ecc_attachments_mbytesМБFile size unit — megabytes
ecc_attachments_gbytesГБFile size unit — gigabytes
ecc_attachments_tbytesТБFile size unit — terabytes
ecc_alert_not_enough_spaceНедостаточно места в памяти устройстваError: not enough space
ecc_alert_file_restricted_type_error_during_load_fileФайл с таким расширением запрещен к загрузкеServer error: forbidden file type (code file.restricted.type)
ecc_alert_file_restricted_size_error_during_load_fileРазмер файла превышает допустимое значениеServer error: file size limit exceeded (code file.restricted.size)
ecc_alert_file_not_found_error_during_load_fileФайл для загрузки не найденServer error: file not found (code file.not-found)
ecc_errors_no_user_idПользователь не установлен, выполните авторизациюError: attempt to send a message without an authorized user
ecc_error_websocketОшибка при получении сообщения в чатеWebSocket error when delivering incoming messages