Customize all the strings in Helpshift SDK's user interface
Helpshift uses the
HSLocalization bundle to read the default values of all the string translations.
You can customize all the strings used in the Helpshift SDK by following the steps below:
- Create a new simple folder "HelpshiftCustomLocalization" in your project from Finder.
- Go to HelpshiftCustomLocalizations folder and copy the lproj files for all the languages you want to support. You can find this folder at the root level of SDK zip file or at Pods/Helpshift/helpshift-sdk-ios-vx.x.x/HelpshiftCustomLocalizations if you are using CocoaPods integration.
- Paste the lproj files selected in the previous step to the HelpshiftCustomLocalization folder.
- In HelpshiftCustomLocalization folder, change translations of the relevant keys in the HelpshiftLocalizable.strings files.
- Rename "HelpshiftCustomLocalization" folder to the " HelpshiftCustomLocalization.bundle". Your system will ask your confirmation to add "bundle" extension to the folder. Click on "Add".
- Add this bundle to your project from Xcode using File -> Add Files to -> Select the HelpshiftCustomLocalization.bundle
- Go to "Build Phases" settings tab of your project and Expand Bundle Resources menu
- Drag the HelpshiftCustomLocalization.bundle from your project navigator to "Copy Bundle Resources" menu.
- Alternatively you can also add this bundle using + icon in the "Copy Bundle Resources" menu. SDK will start using your customized strings now.
Below is the description of the keys (in the
HelpshiftLocalizable.strings file) for each of the customizable strings
in the app:
- Can't find what you were looking for?
- Text that shows below search when no FAQs are found. This show up if enableContactUs option is set to NO
- Thanks for contacting us.
- Text for alertview when customer is dropped back to app after starting
- Your message has been received.
- Text for alertview when customer is dropped back to conversation chat
view after starting a conversation
Message send failure.
- Message send failure.
- Title for alertview that shows when starting new conversation was not
- Hated it
- Text shown to hint 1 star rating.
- Disliked it
- Text shown to hint 2 star rating.
- It was ok
- Text shown to hint 3 star rating.
- Liked it
- Text shown to hint 4 star rating.
- Loved it
- Text shown to hint 5 star rating.
- What's your feedback about our customer support?
- Text shown in the customer satisfaction survey dialog.
- Take a screenshot on your iPhone
- Title for tutorial explaining how to take screenshot on the iPhone
- Learn how
- Text for the button in the screenshot widget that shows the user how to take a screenshot
- Take a screenshot on your iPad
- Title for tutorial explaining how to take screenshot on the iPad
- SEND ANYWAY
- Title for send button shown below suggestions when enhance ticket avoidance is enable.
- Text for the title of main support screen
- Send message
- Accessibility label for button to send message on chat screen
- Review button text for the conversation screen review widget to review app
- Close Help
- Accessibility label for button to close FAQs screen opened via showFAQs API
- New Conversation
- Text for new conversation button in the confirmation panel
- Please check your network connection and try again.
- Message for alertview that shows when starting new conversation was not successful
- New message from Support
- Title for a new in-app notification with one reply on a conversation
- Title for navigation bar for single faq screen
- No FAQs found in this section
- Text for no faqs in section when FAQs list for a particular section is empty
- Email (optional)
- Placeholder text for email in new conversation screen (email is optional)
- CONTACT US
- Contact button that tails search results and contact button in the navigation bar. When used in navigation bar, it is turned to camel case.
- Placeholder text for user's email in new conversation screen only when email is required.
- Sending your message...
- Text for the progress hud that is shown when user starts a new conversation
- Tap here if this FAQ was not helpful to you
- Accessibility label for button to mark a FAQ unhelpful in single FAQ screen
- Any other feedback? (optional)
- Placeholder for textview, for user feedback on customer service.
- You found this helpful.
- Feedback text for mark helpful button in single faq screen.
- No working Internet connection is found.
- Message for the alertview that indicates absence of internet connection
- No messages found.
- Text shown when campaigns inbox is empty
- Please enter a brief description of the issue you are facing.
- Message for alertview that shows up if the user left description field
blank or enters non-alphanumeric characters only. This is a slight attempt to prevent the user from entering gibberish
- Did we answer all your questions?
- Text shown for issue resolution dialog.
- Close Section
- Accessibility label for close FAQ section opened via showFAQSection API
- Close FAQ
- Accessibility label for close FAQ opened via showSingleFAQ API
- Generic Close, applies to close button in the navigation bar.
- Send it anyway
- Accessibility label for send button shown below suggestions when enhance ticket avoidance is enable
- Accessibility label for back button when a sub-intents list is opened
- Accessibility label for button to delete any campaign message
- Service Rating
- Title for the navigation bar, when the user gives their feedback on customer service.
- Thanks for messaging us!
- Footer text for messages indicating issue resolution.
- Could not fetch faqs
- Text for alertview that shows when FAQs list could not be fetched
- Thanks for rating us.
- Title for alertview, when the user submits a feedback on customer service.
- Please enter a valid email address
- Error text message visible when user enters an invalid email address in landscape mode
- Title for navigation bar of single campaign message
- Separator text, shown between the customer satisfaction dialog, and start a new conversation dialog.
- Mark unhelpful button in single FAQ screen
- Accessibility label for 2 or more stars rating button
- Title for navigation bar for image preview screen.
- Type in a new message
- Accessibility label for reply footer on chat screen
- No Internet!
- Title for the alertview that indicates absence of internet connection
- This message is no longer available
- Text for a body of expired campaign message
- You didn't find this helpful.
- Feedback text for mark unhelpful button in single faq screen.
- Placeholder text for search in campaigns inbox and list picker
- Tap here if you found this FAQ helpful
- Accessibility label for button to mark a FAQ helpful in single FAQ screen
- Accessibility label for 1 star rating button
- Minimum number of characters user needs to type before he can send a message in Conversational issue-filing or start a new Conversation in Form-based issue-filing experience.
- Was this helpful?
- Text that shows below every single faq to mark the faq as helpful or
- Generic OK, applies to attach screenshot
- Title for navigation bar for search results when enhance ticket avoidance is enable.
- No FAQs found
- Text that shows below search when no FAQs are found for
- Navigation item to dismiss single FAQ view after the user has finished reading the suggested FAQ.
- Title for the actionsheet button to cancel the actionsheet. This action sheet shows when user selects the red exclamation icon beside an unsent message
- Would you like to review the app?
- Message for review request sent by Agent.
- Could not fetch message
- Text for alertview that shows when there is a failure in fetching campaign message
- Try Again
- Title for the actionsheet button to try sending a message again. This action sheet shows when user selects the red exclamation icon beside an unsent message
- %d new messages from Support
- Body for a new in-app notification with multiple replies on a conversation
- Your Name
- Accessibility label for name field in form based issue filing screen
- Please provide a name.
- Message for alertview that shows when the user does not enter a name in the user/email entry screen
- What else can we help you with?
- Auto-response message when the solution is rejected by the user in a conversation
- Describe your problem
- Placeholder text for FAQ search
- How can we help?
- Placeholder for problem description in new conversation screen
- Help about
- Accessibility label for FAQs and FAQ sections list
- We could not fetch the required data
- Text for alertview that shows when SDK fails to fetch FAQs
- Placeholder for name field in form based issue filing screen
- Mark as read
- Accessibility label for button to mark as read for a campaign message
- Generic Loading text for progress hud while fetching FAQs
- Attach a photo
- Accessibility label for button to attachment an image in form based issue filing screen
- Mark helpful button in single faq screen
- Your email(optional)
- Accessibility label for email field in form based issue filing screen
- Title of the conversation screen
- Questions that may already have your answer
- Header for suggestions after new conversation when enhance ticket avoidance is enable.
- Title for navigation bar of campaigns inbox
- Remove attachment
- Accessibility label for button to cancel attachment in form based issue filing screen
- Sorry! This conversation was closed due to inactivity. Please start a new conversation with our agents.
- Text shown on chat screen when an issue gets archived
- Ok, Attach
- Text for the button in the screenshot widget that takes the user to the iPhone/iPad gallery to select a screenshot
- Text for screenshot widget send button and send button on navigation bar
- We couldn't find an FAQ with matching ID
- Body of alertview that shows when there is no FAQ found with an ID passed in showSingleFAQ API
- Failed to load video
- Text shown in FAQ body when there is a failure in loading video
- Failed to load image
- Text shown in FAQ body when there is a failure in loading image
- Hold down your device's power and home buttons at the same time.
- Tutorial text for capturing screenshot on iPad
- Hold down your device's power and volume up buttons at the same time.
- Tutorial text for capturing screenshot on iPhoneX and above
- Please note that a few devices may have the power button on the top.
- Tutorial text for capturing screenshot on iPhones before iPhone X
- Text for button to dismiss alertview shown for tutorial regarding capturing a screenshot
- We couldn't find an FAQ section with matching ID
- Body of alertview that shows when there is no FAQ section found with an ID passed in showFAQSection API
The messages from the Identity Bot and the Answer Bot will be sent by the Helpshift servers, so they won't be customizable in the SDK.