Widget Localization

Bonjour,

is there an option somewhere to have some default widget text string in other language than english please?

“results found in” in the stat widget for exemple.
Thks

Hi there,

Thanks for posting here @jeanlouis . Are you using instantsearch.js? If so you can use templates to change the output of the widgets:

search.addWidget(instantsearch.widgets.stats({
  container: '#stats-div',
  templates: {
    body: 'Resultats trouvés en {{processingTimeMS}}'
  }
}))

For more information you can go to the doc about the templates of the stats widget.