Developers

Labels

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.

Search code label purpose
SEARCH_BOX_PLACEHOLDER Question The text to be displayed in the search bar before the end user starts typing
SEARCH_BOX_BUTTON Send The name of the button end users should click to perform a search
Results code label purpose
RESULTS_TITLE Results: The title of the search page section that presents the results of a search
RESULTS_TEXT Search results for The text used to introduce the search results presented by the SDK
RESULTS_NOT_FOUND_TITLE No results found The main text to be displayed when no results are found for a specific query
RESULTS_NOT_FOUND_TEXT We’re sorry, but we couldn’t find any answer for your query. The text to be displayed to elaborate on the RESULTS_NOT_FOUND_TITLE
RESULTS_BACK_BUTTON Back The name of the button that takes the end user back to the search screen
Categories code label purpose
CATEGORIES_TITLE Categories The text used to introduce the list of content categories on the search page
CATEGORIES_SIDEBAR_TITLE Categories The text used to introduce the sidebar of content categories on the Search page
CATEGORIES_BACK_BUTTON Back The name of the button that users can click to go back to the main search page after having clicked a category
CATEGORIES_DROPDOWN_TITLE Categories The text used to introduce the dropdown menu of content categories on the search page
CATEGORIES_DROPDOWN_PLACEHOLDER Choose category The text to be displayed in the dropdown menu of content categories before the end user selects a category
Categories breadcrumb code label purpose
CATEGORIES_BREADCRUMB_HOME 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
CATEGORIES_BREADCRUMB_BACK_BUTTON Back 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.
Push code label purpose
PUSH_TITLE Push The title of the search page section that contains the list of push contents on the search page
PUSH_TEXT Maybe you are interested 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.
Popular code label purpose
POPULAR_TITLE Popular The title used to introduce the search page section that contains the most popular contents
POPULAR_TEXT Frequently answered questions The text used to introduce the most popular contents on the search page, displayed under the POPULAR_TITLE label.
Push popular code label purpose
PUSHPOPULAR_TITLE Maybe you are interested in: The title used to introduce the search page section that contains push popular contents.
POPULAR_TEXT Interesting contents 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.
Contents code label purpose
TITLE_CONTENT_LIST Contents The title of the search page section that shows the list of contents in the Knowledge Base
Related contents code label purpose
RELATED_INTRODUCTION Related contents The text used to introduce the contents related to the clicked content
Ratings code label purpose
RATINGS_INTRODUCTION Was this answer helpful? The text used to prompt users to rate or evaluate a search result
RATINGS_COMMENT_INTRODUCTION Why this content is not correct? 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 Send The name of the button the end user should click to submit their rating comment
RATINGS_GREETINGS_TEXT Thanks for your comment! The text displayed when an end user has submitted a rating or a rating comment
Instant results code label purpose
INSTANTS_TITLE Instants Faqs 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 Last Chance 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 Cancel The name of the button end users should click to cancel their contact attempt in the “last chance” popup window
LAST_CHANCE_SUBMIT Submit The name of the button end users should click to proceed with their contact attempt in the “last chance” popup window
Oooops! code label purpose
REFRESH_TITLE Oooops...! The title to be displayed when the page could not be loaded and needs to be refreshed
REFRESH_INVALID_ACCESS_TOKEN Something went wrong. Please, refresh the page The message to be displayed when the page could not be loaded and needs to be refreshed
REFRESH_BUTTON Refresh The name of the button end users should click to refresh the page
User questions code label purpose
USER_QUESTIONS User questions The text used to introduce the list of user questions
RELATED_UQ Related user questions The text used to introduce the list of user questions related to the end user’s question
SHOWING_CONTENTS_UQ Contents related to The title of the search page section that shows the list of contents in the Knowledge Base when there is no pagination
Language detection code label purpose
DIFFERENT_LANGUAGE_DETECTED It seems you are asking a question in a language we did not expect. Please look for the language you need in the menu. 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.

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.