HomeDocumentationAPI Reference
Getting StartedAPI ReferenceBug ReportingCrash ReportingAPMHelp Center
These docs are for v8.1. Click to read the latest docs for v12.0.0.

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);
Locale Parameters:

kIBGStartAlertTextStringName
kIBGShakeStartAlertTextStringName
kIBGTwoFingerSwipeStartAlertTextStringName
kIBGEdgeSwipeStartAlertTextStringName
kIBGScreenshotStartAlertTextStringName
kIBGInvalidEmailMessageStringName
kIBGInvalidEmailTitleStringName
kIBGInvalidCommentMessageStringName
kIBGInvalidCommentTitleStringName
kIBGInvocationTitleStringName
kIBGAskAQuestionStringName
kIBGReportBugStringName
kIBGReportFeedbackStringName
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
kIBGSurveyNoAnswerTitle
kIBGSurveyNoAnswerMessage
kIBGVideoPressRecordTitle
kIBGCollectingDataText
kIBGLowDiskStorageTitle
kIBGLowDiskStorageMessage
kIBGInboundByLineMessage
kIBGExtraFieldIsRequiredText
kIBGExtraFieldMissingDataText
kIBGSurveyIntroTitleText
kIBGSurveyIntroDescriptionText
kIBGSurveyIntroTakeSurveyButtonText
kIBGSurveyIntroDismissButtonText
kIBGSurveyThankYouTitleText
kIBGSurveyThankYouDescriptionText
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
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
kIBGSurveyNoAnswerTitle
kIBGSurveyNoAnswerMessage
kIBGVideoPressRecordTitle
kIBGCollectingDataText
kIBGLowDiskStorageTitle
kIBGLowDiskStorageMessage
kIBGInboundByLineMessage
kIBGExtraFieldIsRequiredText
kIBGExtraFieldMissingDataText
kIBGSurveyIntroTitleText
kIBGSurveyIntroDescriptionText
kIBGSurveyIntroTakeSurveyButtonText
kIBGSurveyIntroDismissButtonText
kIBGSurveyThankYouTitleText
kIBGSurveyThankYouDescriptionText
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
START_CHATS
REPORT_BUG
REPORT_FEEDBACK
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
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
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.invocationHeader
Instabug.strings.talkToUs
Instabug.strings.reportBug
Instabug.strings.reportFeedback
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.TalkToUs
IBGString.ReportBug
IBGString.ReportFeedback
IBGString.EmailFieldHint
IBGString.CommentFieldHintForBugReport
IBGString.CommentFieldHintForFeedback
IBGString.AddScreenRecordingMessage
IBGString.AddVoiceMessage
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.AddVoiceMessage
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.ReportSuccessfullySent
InstabugCustomTextPlaceHolder.Key.ShakeHint
InstabugCustomTextPlaceHolder.Key.StartChats
InstabugCustomTextPlaceHolder.Key.SuccessDialogHeader
InstabugCustomTextPlaceHolder.Key.SwipeHint