translations prop. All translation strings are optional and fall back to English defaults.
Translation Structure
Thetranslations object has three main sections:
Button Translations
Translations for the search button that triggers the modal.string
default:"Search"
Text displayed on the search button.
string
default:"Search"
Accessible label for the search button.
Modal Translations
Translations for the modal interface. The modal section is divided into multiple subsections.Search Box
string
default:"Clear"
Title for the clear button.
string
default:"Clear the query"
Accessible label for the clear button.
string
default:"Close"
Text for the close button.
string
default:"Close"
Accessible label for the close button.
string
default:"Search docs"
Placeholder text for the search input.
string
default:"Ask another question..."
Placeholder text when in Ask AI mode.
string
default:"Answering..."
Placeholder text when AI is streaming a response.
string
default:"Search"
Enter key hint for standard search.
string
default:"Ask"
Enter key hint for Ask AI mode.
string
default:"Search"
Accessible label for the search input.
string
default:"Back to keyword search"
Text for the button that exits Ask AI mode.
string
default:"Back to keyword search"
Accessible label for the back button.
string
default:"Ask a question"
Placeholder text for starting a new AI conversation.
string
default:"My conversation history"
Title for the conversation history screen.
string
default:"Start a new conversation"
Text for the new conversation menu item.
string
default:"Conversation history"
Text for the conversation history menu item.
string
default:"Conversation limit reached"
Placeholder shown when conversation depth limit is reached.
Footer
Label for the select action in keyword search mode.
Label for the submit action in Ask AI mode.
Accessible label for the Enter key icon.
Label for navigation action.
Accessible label for the up arrow key.
Accessible label for the down arrow key.
Label for the close action in keyword search mode.
Label for the escape action in Ask AI mode.
Accessible label for the Escape key.
Text for the “Powered by” Algolia branding.
Error Screen
string
default:"Unable to fetch results"
Error title when search fails.
string
Error help text.
No Results Screen
string
default:"No results found for"
Text shown when no results are found.
string
default:"Try searching for"
Text for suggested queries section.
string
default:"Believe this query should return results?"
Text prompting users to report missing results.
string
default:"Let us know."
Link text for reporting missing results.
Results Screen
string
Placeholder for Ask AI action in results.
string
Placeholder for Ask AI action when no results are found.
Start Screen
string
default:"Recent"
Title for recent searches section.
string
Text shown when there are no recent searches.
string
default:"Save this search"
Title for save to favorites button.
string
default:"Remove this search from history"
Title for remove from recents button.
string
default:"Favorite"
Title for favorite searches section.
string
default:"Remove this search from favorites"
Title for remove from favorites button.
string
default:"Recent conversations"
Title for recent AI conversations section.
string
default:"Remove this conversation from history"
Title for remove conversation button.
New Conversation Screen
string
default:"How can I help you today?"
Title for new AI conversation screen.
string
Description text for new conversation screen.
Ask AI Screen
string
Disclaimer text shown in Ask AI mode.
Title for related sources section.
string
default:"Thinking..."
Text shown when AI is thinking.
string
default:"Copy"
Text for copy button.
string
default:"Copied!"
Text shown after copying.
string
default:"Copy"
Title for copy button.
string
default:"Like"
Title for like button.
string
default:"Dislike"
Title for dislike button.
string
default:"Thanks for your feedback!"
Text shown after submitting feedback.
string
default:"Searching..."
Text shown before AI starts searching.
string
default:"Searching..."
Text shown during AI search.
string
default:"Searched for"
Text shown after AI completes search.
string
default:"You stopped this response"
Text shown when user stops streaming.
string
default:"Chat error"
Title for chat errors.
string
Message shown when conversation depth limit is reached.
string
default:"Start a new conversation"
Button text for starting new conversation after error.
(queries: string[], onSearchQueryClick: (query: string) => void) => React.ReactNode
Custom JSX element for the aggregated search block. Completely overrides the default renderer.
(queries: string[]) => { before?: string; separator?: string; lastSeparator?: string; after?: string }
Generate list connective parts for aggregated searches (backwards compatibility).
