Would like to translate Clear All in Search pane, how to do that?
Would like to translate Clear All in Search pane, how to do that?

Hey folks,
would like to translate the search pane clear all text, i tried several levels in the translation file with the keyword "clearAll" but it did not work:
<button type="button" class="dtsp-clearAll">Clear All</button>
Thx!
This question has an accepted answers - jump to answer
This discussion has been closed.
Answers
Hi @marcboe,
You should be able to set it using the
language.searchPanes.clearMessage
config option. It appears that the docs for this aren't yet on the website, but I will get that sorted and report back when they are. In the mean time you can see them in the GitHub Repo.The string that you set here will be passed through an
i18n()
function that should do the translation for you.Thanks,
Sandy