This page contains a compilation of all the default labels contained in the KM SDK. You can customize and translate them as applicable using the labels
parameter in the SDK configuration.
To change the text of a label, send a configuration object with the new label. This function updates only the defined labels, and keeps the others unchanged.
Example:
config = {
labels: {
'ratings_introduction': 'New introduction to prompt end users to rate the content'
}
}
Below, you can see where each component label is located in the SDK:
- POPULAR_TITLE: The title used to introduce the search page section that contains the most popular contents
- POPULAR_TEXT: The text used to introduce the most popular contents on the search page, displayed under the POPULAR_TITLE label. Currently, this is a hidden label.
- PUSHPOPULAR_TITLE: The title used to introduce the search page section that contains push popular contents. Currently, this is a hidden label.
- PUSHPOPULAR_TEXT: The text used to introduce the push popular contents on the search page, displayed under the PUSHPOPULAR_TITLE label. Currently, this is a hidden label.
- RESULTS_TITLE: The title of the search page section that presents the results of a search
- RESULTS_TEXT: The text used to introduce the search results presented by the SDK
- RESULTS_NOT_FOUND_TITLE: The main text to be displayed when no results are found for a specific query
- RESULTS_NOT_FOUND_TEXT: The text to be displayed to elaborate on the RESULTS_NOT_FOUND_TITLE
- RESULTS_BACK_BUTTON: The text used for the button that takes the end user back to the search screen
- PUSH_TITLE: The title of the search page section that contains the list of push contents on the search page
- PUSH_TEXT: The text used to introduce the list of push contents on the search page, displayed under the PUSH_TITLE label. Currently, this is a hidden label.
- CATEGORIES_TITLE: The text used to introduce the list of content categories on the search page
- CATEGORIES_SIDEBAR_TITLE: The text used to introduce the sidebar of content categories on the Search page
- CATEGORIES_BREADCRUMB_BACK_BUTTON: The text to be displayed on the breadcrumb’s button that users can click to go back to the main search page after having clicked a category. Currently, this label is not in use.
- CATEGORIES_BACK_BUTTON: The text to be displayed on the button that users can click to go back to the main search page after having clicked a category
- CATEGORIES_BREADCRUMB_HOME: The text to be displayed in the breadcrumb that allows end users to go back to the search page after they clicked one of the presented categories
- TITLE_CONTENT_LIST: The title of the search page section that shows the list of contents in the Knowledge Base
- SEARCH_BOX_BUTTON: The name of the button end users should click to perform a search
- SEARCH_BOX_PLACEHOLDER: The text to be displayed in the search bar before the end user starts typing
- RELATED_INTRODUCTION: The text used to introduce the contents related to the clicked content
- RATINGS_INTRODUCTION: The text used to prompt users to rate or evaluate a search result
- RATINGS_COMMENT_INTRODUCTION: The text displayed when an end user has negatively evaluated a search result, to prompt them to elaborate on their negative rating
- RATINGS_COMMENT_PLACEHOLDER: The text displayed in the comment field before the end user starts typing
- RATINGS_SUBMIT_COMMENT_BUTTON: The text displayed as a button the end user should click to submit their rating comment
- RATINGS_GREETINGS_TEXT: The text displayed when an end user has submitted a rating or a rating comment
- REFRESH_INVALID_ACCESS_TOKEN: The message to be displayed when the page could not be loaded and needs to be refreshed
- REFRESH_TITLE: The title to be displayed when the page could not be loaded and needs to be refreshed
- REFRESH_BUTTON: The name of the button end users should click to refresh the page
- INSTANTS_TITLE: The title that introduces instant results that appear when an end user types input that matches one or more contents, without actually clicking the search button
- LAST_CHANCE_TITLE: The title of the “last chance” popup window that returns search results when a user wants to initiate contact. As the name indicates, it is the last try to obtain a match before a ticket is created.
- LAST_CHANCE_CANCEL: The name of the button end users should click to cancel their contact attempt in the “last chance” popup window
- LAST_CHANCE_SUBMIT: The name of the button end users should click to proceed with their contact attempt in the “last chance” popup window
- RELATED_UQ: The text used to introduce the list of user questions related to the end user’s question
- USER_QUESTIONS: The text used to introduce the list of user questions
- SHOWING_CONTENTS_UQ: The title of the search page section that shows the list of contents in the Knowledge Base when there is no pagination
- CATEGORIES_DROPDOWN_TITLE: The text used to introduce the dropdown menu of content categories on the search page
- CATEGORIES_DROPDOWN_PLACEHOLDER: The text to be displayed in the dropdown menu of content categories before the end user selects a category
- DIFFERENT_LANGUAGE_DETECTED: Message to be displayed when an end user has formulated a user question in a language that differs from the one used in the instance. Currently, this label is not in use.