HomeDocumentationAPI Reference
Getting StartedAPI ReferenceHelp CenterVideo Tours

Change String Values

Rather than change the locale, you can change specific strings in the SDK to match your preference. This method takes two arguments, the key of the string you'd like to change, the string you'd like to replace it with.

Method

Instabug.setValue("Please enter a correct email address", forStringWithKey: kIBGInvalidEmailTitleStringName)
[Instabug setValue:@"Please enter a correct email address" forStringWithKey:kIBGInvalidEmailTitleStringName];
InstabugCustomTextPlaceHolder placeHolder = new InstabugCustomTextPlaceHolder();
placeHolder.set(REPORT_FEEDBACK, "Send Feedback");
Instabug.setCustomTextPlaceHolders(placeHolder);
Instabug.setStringToKey("Please enter a correct email address", Instabug.strings.invalidEmailMessage);
//iOS
Instabug.SetString("Report a bug", IBGString.ReportBug);

//Android
InstabugCustomTextPlaceHolder placeHolder = new InstabugCustomTextPlaceHolder();
placeHolder.Set(InstabugCustomTextPlaceHolder.Key.ReportBug, "Report a new bug");
Instabug.SetCustomTextPlaceHolders(placeHolder);
Instabug.setStringForKey("Please enter a correct email address", IBGCustomTextPlaceHolderKey.invalidEmailMessage);
Locale Parameters:

kIBGStartAlertTextStringName
kIBGShakeStartAlertTextStringName
kIBGTwoFingerSwipeStartAlertTextStringName
kIBGEdgeSwipeStartAlertTextStringName
kIBGScreenshotStartAlertTextStringName
kIBGInvalidEmailMessageStringName
kIBGInvalidEmailTitleStringName
kIBGInvalidCommentMessageStringName
kIBGInvalidCommentTitleStringName
kIBGInvocationTitleStringName
kIBGAskAQuestionStringName
kIBGReportBugStringName
kIBGReportFeedbackStringName
kIBGReportBugDescriptionStringName
kIBGReportFeedbackDescriptionStringName
kIBGReportQuestionDescriptionStringName
kIBGRequestFeatureDescriptionStringName
kIBGEmailFieldPlaceholderStringName
kIBGCommentFieldPlaceholderForBugReportStringName
kIBGCommentFieldPlaceholderForFeedbackStringName
kIBGChatReplyFieldPlaceholderStringName
kIBGAddScreenRecordingMessageStringName
kIBGAddVoiceMessageStringName
kIBGAddImageFromGalleryStringName
kIBGAddExtraScreenshotStringName
kIBGAudioRecordingPermissionDeniedTitleStringName
kIBGAudioRecordingPermissionDeniedMessageStringName
kIBGScreenRecordingPermissionDeniedMessageStringName
kIBGMicrophonePermissionAlertSettingsButtonTitleStringName
kIBGMicrophonePermissionAlertLaterButtonTitleStringName
kIBGChatsTitleStringName
kIBGTeamStringName
kIBGRecordingMessageToHoldTextStringName
kIBGRecordingMessageToReleaseTextStringName
kIBGMessagesNotificationTitleSingleMessageStringName
kIBGMessagesNotificationTitleMultipleMessagesStringName
kIBGScreenshotTitleStringName
kIBGOkButtonTitleStringName
kIBGSendButtonTitleStringName
kIBGCancelButtonTitleStringName
kIBGThankYouAlertTitleStringName
kIBGThankYouAlertMessageStringName
kIBGAudioStringName
kIBGScreenRecordingStringName
kIBGImageStringName
kIBGReachedMaximimNumberOfAttachmentsTitleStringName
kIBGReachedMaximimNumberOfAttachmentsMessageStringName
kIBGVideoRecordingFailureMessageStringName
kIBGSurveyEnterYourAnswerTextPlaceholder
kIBGVideoPressRecordTitle
kIBGCollectingDataText
kIBGLowDiskStorageTitle
kIBGLowDiskStorageMessage
kIBGInboundByLineMessage
kIBGExtraFieldIsRequiredText
kIBGExtraFieldMissingDataText
kIBGSurveyIntroTitleText
kIBGSurveyIntroDescriptionText
kIBGSurveyIntroTakeSurveyButtonText
kIBGSurveyIntroDismissButtonText
kIBGStoreRatingThankYouTitleText
kIBGStoreRatingThankYouDescriptionText
kIBGCustomSurveyThankYouTitleText
kIBGCustomSurveyThankYouDescriptionText
kIBGSurveysNPSLeastLikelyStringName
kIBGSurveysNPSMostLikelyStringName
kIBGSurveyNextButtonTitle
kIBGSurveySubmitButtonTitle
kIBGSurveyAppStoreThankYouTitle
kIBGSurveyAppStoreButtonTitle
kIBGExpectedResultsStringName
kIBGActualResultsStringName
kIBGStepsToReproduceStringName
kIBGReplyButtonTitleStringName
kIBGFeatureRequestsTitle 
kIBGFeatureDetailsTitle 
kIBGStringFeatureRequestsRefreshText 
kIBGFeatureRequestSortingByRecentlyUpdatedText 
kIBGFeatureRequestSortingByTopVotesText 
kIBGFeatureRequestErrorStateTitleLabel 
kIBGFeatureRequestErrorStateDescriptionLabel 
kIBGBetaWelcomeMessageWelcomeStepTitle;
kIBGBetaWelcomeMessageWelcomeStepContent;
kIBGBetaWelcomeMessageHowToReportStepTitle;
kIBGBetaWelcomeMessageHowToReportStepContent;
kIBGBetaWelcomeMessageFinishStepTitle;
kIBGBetaWelcomeMessageFinishStepContent;
kIBGBetaWelcomeDoneButtonTitle;
kIBGLiveWelcomeMessageTitle;
kIBGLiveWelcomeMessageContent;
kIBGStartAlertTextStringName
kIBGShakeStartAlertTextStringName
kIBGTwoFingerSwipeStartAlertTextStringName
kIBGEdgeSwipeStartAlertTextStringName
kIBGScreenshotStartAlertTextStringName
kIBGInvalidEmailMessageStringName
kIBGInvalidEmailTitleStringName
kIBGInvalidCommentMessageStringName
kIBGInvalidCommentTitleStringName
kIBGInvocationTitleStringName
kIBGAskAQuestionStringName
kIBGReportBugStringName
kIBGReportFeedbackStringName
kIBGReportBugDescriptionStringName
kIBGReportFeedbackDescriptionStringName
kIBGReportQuestionDescriptionStringName
kIBGRequestFeatureDescriptionStringName
kIBGEmailFieldPlaceholderStringName
kIBGCommentFieldPlaceholderForBugReportStringName
kIBGCommentFieldPlaceholderForFeedbackStringName
kIBGChatReplyFieldPlaceholderStringName
kIBGAddScreenRecordingMessageStringName
kIBGAddVoiceMessageStringName
kIBGAddImageFromGalleryStringName
kIBGAddExtraScreenshotStringName
kIBGAudioRecordingPermissionDeniedTitleStringName
kIBGAudioRecordingPermissionDeniedMessageStringName
kIBGScreenRecordingPermissionDeniedMessageStringName
kIBGMicrophonePermissionAlertSettingsButtonTitleStringName
kIBGMicrophonePermissionAlertLaterButtonTitleStringName
kIBGChatsTitleStringName
kIBGTeamStringName
kIBGRecordingMessageToHoldTextStringName
kIBGRecordingMessageToReleaseTextStringName
kIBGMessagesNotificationTitleSingleMessageStringName
kIBGMessagesNotificationTitleMultipleMessagesStringName
kIBGScreenshotTitleStringName
kIBGOkButtonTitleStringName
kIBGSendButtonTitleStringName
kIBGCancelButtonTitleStringName
kIBGThankYouAlertTitleStringName
kIBGThankYouAlertMessageStringName
kIBGAudioStringName
kIBGScreenRecordingStringName
kIBGImageStringName
kIBGReachedMaximimNumberOfAttachmentsTitleStringName
kIBGReachedMaximimNumberOfAttachmentsMessageStringName
kIBGVideoRecordingFailureMessageStringName
kIBGSurveyEnterYourAnswerTextPlaceholder
kIBGVideoPressRecordTitle
kIBGCollectingDataText
kIBGLowDiskStorageTitle
kIBGLowDiskStorageMessage
kIBGInboundByLineMessage
kIBGExtraFieldIsRequiredText
kIBGExtraFieldMissingDataText
kIBGSurveyIntroTitleText
kIBGSurveyIntroDescriptionText
kIBGSurveyIntroTakeSurveyButtonText
kIBGSurveyIntroDismissButtonText
kIBGStoreRatingThankYouTitleText
kIBGStoreRatingThankYouDescriptionText
kIBGCustomSurveyThankYouTitleText
kIBGCustomSurveyThankYouDescriptionText
kIBGSurveysNPSLeastLikelyStringName
kIBGSurveysNPSMostLikelyStringName
kIBGSurveyNextButtonTitle
kIBGSurveySubmitButtonTitle
kIBGSurveyAppStoreThankYouTitle
kIBGSurveyAppStoreButtonTitle
kIBGExpectedResultsStringName
kIBGActualResultsStringName
kIBGStepsToReproduceStringName
kIBGReplyButtonTitleStringName
kIBGFeatureRequestsTitle 
kIBGFeatureDetailsTitle 
kIBGStringFeatureRequestsRefreshText 
kIBGFeatureRequestSortingByRecentlyUpdatedText 
kIBGFeatureRequestSortingByTopVotesText 
kIBGFeatureRequestErrorStateTitleLabel 
kIBGFeatureRequestErrorStateDescriptionLabel 
kIBGBetaWelcomeMessageWelcomeStepTitle;
kIBGBetaWelcomeMessageWelcomeStepContent;
kIBGBetaWelcomeMessageHowToReportStepTitle;
kIBGBetaWelcomeMessageHowToReportStepContent;
kIBGBetaWelcomeMessageFinishStepTitle;
kIBGBetaWelcomeMessageFinishStepContent;
kIBGBetaWelcomeDoneButtonTitle;
kIBGLiveWelcomeMessageTitle;
kIBGLiveWelcomeMessageContent;
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
Instabug.strings.shakeHint
Instabug.strings.swipeHint
Instabug.strings.edgeSwipeStartHint
Instabug.strings.startAlertText
Instabug.strings.invalidEmailMessage
Instabug.strings.invalidEmailTitle
Instabug.strings.invalidCommentMessage
Instabug.strings.invalidCommentTitle
Instabug.strings.thankYouAlertText
Instabug.strings.invocationHeader
Instabug.strings.reportQuestion
Instabug.strings.reportBug
Instabug.strings.reportFeedback
Instabug.strings.reportBugDescription
Instabug.strings.reportFeedbackDescription
Instabug.strings.reportQuestionDescription
Instabug.strings.requestFeatureDescription
Instabug.strings.emailFieldHint
Instabug.strings.commentFieldHintForBugReport
Instabug.strings.commentFieldHintForFeedback
Instabug.strings.addVideoMessage
Instabug.strings.addVoiceMessage
Instabug.strings.addImageFromGallery
Instabug.strings.addExtraScreenshot
Instabug.strings.audioRecordingPermissionDeniedTitle
Instabug.strings.audioRecordingPermissionDeniedMessage
Instabug.strings.microphonePermissionAlertSettingsButtonText Instabug.microphonePermissionAlertSettingsButtonText,
Instabug.strings.recordingMessageToHoldText
Instabug.strings.recordingMessageToReleaseText
Instabug.strings.conversationsHeaderTitle
Instabug.strings.screenshotHeaderTitle
Instabug.strings.chatsNoConversationsHeadlineText
Instabug.strings.doneButtonText
Instabug.strings.okButtonText
Instabug.strings.cancelButtonText
Instabug.strings.thankYouText
Instabug.strings.audio
Instabug.strings.video
Instabug.strings.image
Instabug.strings.chatsHeaderTitle
Instabug.strings.team
Instabug.strings.messageNotification
Instabug.strings.messagesNotificationAndOthers

// iOS only 
Instabug.strings.collectingDataText
//iOS
IBGString.ShakeHint
IBGString.SwipeHint
IBGString.EdgeSwipeStartHint
IBGString.StartAlertText
IBGString.InvalidEmailMessage
IBGString.InvalidEmailTitle
IBGString.InvalidCommentMessage
IBGString.InvalidCommentTitle
IBGString.InvocationHeader
IBGString.ReportQuestion
IBGString.ReportBug
IBGString.ReportFeedback
IBGString.EmailFieldHint
IBGString.CommentFieldHintForBugReport
IBGString.CommentFieldHintForFeedback
IBGString.AddScreenRecordingMessage
IBGString.AddImageFromGallery
IBGString.AddExtraScreenshot
IBGString.AudioRecordingPermissionDeniedTitle
IBGString.AudioRecordingPermissionDeniedMessage
IBGString.ScreenRecordingPermissionDeniedMessage
IBGString.MicrophonePermissionAlertSettingsButtonTitle
IBGString.MicrophonePermissionAlertLaterButtonTitle
IBGString.ChatsHeaderTitle
IBGString.Team
IBGString.RecordingMessageToHoldText
IBGString.RecordingMessageToReleaseText
IBGString.MessagesNotification
IBGString.MessagesNotificationAndOthers
IBGString.ScreenshotHeaderTitle
IBGString.OkButtonTitle
IBGString.CancelButtonTitle
IBGString.ThankYouText
IBGString.ThankYouAlertText
IBGString.Audio
IBGString.ScreenRecording
IBGString.Image
IBGString.SurveyEnterYourAnswerPlaceholder
IBGString.SurveyNoAnswerTitle
IBGString.SurveyNoAnswerMessage
IBGString.SurveySubmitTitle
IBGString.VideoPressRecordTitle
IBGString.LowDiskStorageTitle
IBGString.LowDiskStorageMessage
  
//Android
InstabugCustomTextPlaceHolder.Key.AddExtraScreenshot
InstabugCustomTextPlaceHolder.Key.AddImageFromGallery
InstabugCustomTextPlaceHolder.Key.AddVideo
InstabugCustomTextPlaceHolder.Key.AudioRecordingPermissionDenied
InstabugCustomTextPlaceHolder.Key.CommentFieldHintForBugReport
InstabugCustomTextPlaceHolder.Key.CommentFieldHintForFeedback
InstabugCustomTextPlaceHolder.Key.ConversationsListTitle
InstabugCustomTextPlaceHolder.Key.ConversationTextFieldHint
InstabugCustomTextPlaceHolder.Key.EmailFieldHint
InstabugCustomTextPlaceHolder.Key.FeedbackReportHeader
InstabugCustomTextPlaceHolder.Key.InvalidCommentMessage
InstabugCustomTextPlaceHolder.Key.InvalidEmailMessage
InstabugCustomTextPlaceHolder.Key.InvocationHeader
InstabugCustomTextPlaceHolder.Key.ReportBug
InstabugCustomTextPlaceHolder.Key.ReportFeedback
InstabugCustomTextPlaceHolder.Key.ReportQuestion
InstabugCustomTextPlaceHolder.Key.ReportSuccessfullySent
InstabugCustomTextPlaceHolder.Key.ShakeHint
InstabugCustomTextPlaceHolder.Key.SuccessDialogHeader
InstabugCustomTextPlaceHolder.Key.SwipeHint
IBGCustomTextPlaceHolderKey.shakeHint
IBGCustomTextPlaceHolderKey.swipeHint
IBGCustomTextPlaceHolderKey.invalidEmailMessage
IBGCustomTextPlaceHolderKey.invalidCommentMessage
IBGCustomTextPlaceHolderKey.invocationHeader
IBGCustomTextPlaceHolderKey.reportBug
IBGCustomTextPlaceHolderKey.reportFeedback
IBGCustomTextPlaceHolderKey.reportQuestion
IBGCustomTextPlaceHolderKey.emailFieldHint
IBGCustomTextPlaceHolderKey.commentFieldHintForBugReport
IBGCustomTextPlaceHolderKey.commentFieldHintForFeedback
IBGCustomTextPlaceHolderKey.addImageFromGallery
IBGCustomTextPlaceHolderKey.addExtraScreenshot
IBGCustomTextPlaceHolderKey.conversationsListTitle
IBGCustomTextPlaceHolderKey.audioRecordingPermissionDenied
IBGCustomTextPlaceHolderKey.conversationTextFieldHint
IBGCustomTextPlaceHolderKey.bugReportHeader
IBGCustomTextPlaceHolderKey.feedbackReportHeader
IBGCustomTextPlaceHolderKey.voiceMessagePressAndHoldToRecord
IBGCustomTextPlaceHolderKey.voiceMessageReleaseToAttach
IBGCustomTextPlaceHolderKey.reportSuccessfullySent
IBGCustomTextPlaceHolderKey.successDialogHeader
IBGCustomTextPlaceHolderKey.addVideo
IBGCustomTextPlaceHolderKey.betaWelcomeMessageWelcomeStepTitle
IBGCustomTextPlaceHolderKey.betaWelcomeMessageWelcomeStepContent
IBGCustomTextPlaceHolderKey.betaWelcomeMessageHowToReportStepTitle
IBGCustomTextPlaceHolderKey.betaWelcomeMessageHowToReportStepContent
IBGCustomTextPlaceHolderKey.betaWelcomeMessageFinishStepTitle
IBGCustomTextPlaceHolderKey.betaWelcomeMessageFinishStepContent
IBGCustomTextPlaceHolderKey.liveWelcomeMessageTitle
IBGCustomTextPlaceHolderKey.liveWelcomeMessageContent