I have already looked at various treats on the subject of translating "Show results within" in the search filter.
https://toolset.com/forums/topic/help-with-translation-with-distance-filter/
https://toolset.com/forums/topic/not-possible-to-translate-inputs_placeholder-of-wpv-control-distance-shortcode/
However, I still could not do the translation.
I have (as shown in the picture) entered the placeholder text (in html mode as well as in the block settings). However, the placeholder is not displayed in the frontend.
Thanks for the help!
Hello,
You will need to setup the option "TEXT AND PLACEHOLDERS FOR INPUT FIELDS" value with placeholders, for example:
[wpml-string context="wpv-views"]<label>City</label>%%CENTER%%<label>Show results within</label>%%DISTANCE%%[/wpml-string]
See below sandbox website:
Login URL: hidden link
Page with view block:
hidden link
find and select "Distance" block, in the block setting panel, you can see the option "TEXT AND PLACEHOLDERS FOR INPUT FIELDS" value
Test it in frontend:
hidden link
It works fine.
Thank you! My issue is resolved now.