Description
Discussed in #1368
Originally posted by Zogsha September 19, 2022
Hi, thanks for your work on vitepress!
My documentation site is written in French, so I need the Docsearch component in French.
I have two problems :
-
There is a
algolia.buttonText
option inthemeConfig
. I set it to "Rechercher" instead of the default "Search", but whenever I click on the search component or use "CTRL+K", the placeholder turns back to "Search". It only displays "Rechercher" when the page refreshes. I only tested in dev. -
In the Docsearch API Reference, there is
translations
option (https://docsearch.algolia.com/docs/api#translations). I can't figure out how to configure it.
I think 1. is not intended, but I didn't look further. Is 2. intended ? If that is the case, do you plan to let us translate the Doscsearch modal via algolia
config in themeConfig
?
Thanks,
Aliosha