Welcome to Instabug's Documentation!
Here you'll find a comprehensive technical guide
to help you start working with the Instabug SDK efficiently.

Get Started

SDK Locale

This section covers how to change the language of the SDK in your app as well as the content of all Instabug messages that your users see.

Setting the Locale

The SDK will automatically use the current locale of your user's device, however, you can override it with the following method.

Instabug.setLocale(Locale("de"));
Instabug.setLocale(Locale("de"))

Here are the possible languages.

Locale("en")
Locale("fr")
Locale("de")
Locale("it")
Locale("ja")
Locale("ko")
Locale("zh")
Locale("zh", "CN")
Locale("zh", "TW")
Locale("ar")
Locale("cs")
Locale("da")
Locale("es")
Locale("fa")
Locale("in")
Locale("nl")
Locale("pl")
Locale("pt")
Locale("ru")
Locale("sk")
Locale("sv")
Locale("tr")

📘

Dashboard Language

At the moment, the Instabug dashboard only supports English. Changing the SDK locale will not change the language of your dashboard.

Overriding String Values

You can also override each string shown in the SDK individually using the following method.

InstabugCustomTextPlaceHolder placeHolder = new InstabugCustomTextPlaceHolder();
placeHolder.set(InstabugCustomTextPlaceHolder.Key.REPORT_FEEDBACK, "Send Feedback");
Instabug.setCustomTextPlaceHolders(placeHolder);
val placeHolder = InstabugCustomTextPlaceHolder()
placeHolder.set(InstabugCustomTextPlaceHolder.Key.REPORT_FEEDBACK, "Send Feedback")
Instabug.setCustomTextPlaceHolders(placeHolder)

Here are the possible keys.

SHAKE_HINT
SWIPE_HINT
INVALID_EMAIL_MESSAGE
INVALID_COMMENT_MESSAGE
INVOCATION_HEADER
REPORT_BUG
REPORT_FEEDBACK
REPORT_QUESTION
REPORT_BUG_DESCRIPTION
REPORT_FEEDBACK_DESCRIPTION
REPORT_QUESTION_DESCRIPTION
REQUEST_FEATURE_DESCRIPTION
EMAIL_FIELD_HINT
COMMENT_FIELD_HINT_FOR_BUG_REPORT
COMMENT_FIELD_HINT_FOR_FEEDBACK
ADD_VOICE_MESSAGE
ADD_IMAGE_FROM_GALLERY
ADD_EXTRA_SCREENSHOT
CONVERSATIONS_LIST_TITLE
AUDIO_RECORDING_PERMISSION_DENIED
CONVERSATION_TEXT_FIELD_HINT
BUG_REPORT_HEADER
FEEDBACK_REPORT_HEADER
VOICE_MESSAGE_PRESS_AND_HOLD_TO_RECORD
VOICE_MESSAGE_RELEASE_TO_ATTACH
REPORT_SUCCESSFULLY_SENT
SUCCESS_DIALOG_HEADER
ADD_VIDEO
VIDEO_PLAYER_TITLE
FEATURES_REQUEST
FEATURES_REQUEST_ADD_FEATURE_TOAST
FEATURES_REQUEST_ADD_FEATURE_THANKS_MESSAGE
SURVEYS_WELCOME_SCREEN_TITLE
SURVEYS_WELCOME_SCREEN_SUBTITLE
SURVEYS_WELCOME_SCREEN_BUTTON
INSTABUG_CUSTOM_SURVEY_THANKS_TITLE
INSTABUG_CUSTOM_SURVEY_THANKS_SUBTITLE
BETA_WELCOME_MESSAGE_WELCOME_STEP_TITLE
BETA_WELCOME_MESSAGE_WELCOME_STEP_CONTENT
BETA_WELCOME_MESSAGE_HOW_TO_REPORT_STEP_TITLE
BETA_WELCOME_MESSAGE_HOW_TO_REPORT_STEP_CONTENT
BETA_WELCOME_MESSAGE_FINISH_STEP_TITLE
BETA_WELCOME_MESSAGE_FINISH_STEP_CONTENT
LIVE_WELCOME_MESSAGE_TITLE
LIVE_WELCOME_MESSAGE_CONTENT
REPLIES_NOTIFICATION_DISMISS_BUTTON,
REPLIES_NOTIFICATION_REPLY_BUTTON
REPORT_REPRO_STEPS_DISCLAIMER_BODY
REPRO_STEPS_PROGRESS_DIALOG_BODY
REPRO_STEPS_LIST_HEADER
REPRO_STEPS_LIST_DESCRIPTION
REPRO_STEPS_LIST_EMPTY_STATE_DESCRIPTION
REPORT_ADD_ATTACHMENT_HEADER
REPORT_DISCARD_DIALOG_TITLE
REPORT_DISCARD_DIALOG_BODY
REPORT_DISCARD_DIALOG_NEGATIVE_ACTION
REPORT_DISCARD_DIALOG_POSITIVE_ACTION
REPORT_REPRO_STEPS_DISCLAIMER_LINK

Updated 3 months ago


What's Next

The locale is reflected in all aspects of the Instabug SDK that your users see in your app, including the Welcome Message, bug reporting flow, and Prompt Options.

Welcome Message
Bug Reporting
Prompt Options

SDK Locale


This section covers how to change the language of the SDK in your app as well as the content of all Instabug messages that your users see.

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.