Saltar navegación

[Resuelto] Translation "Show results within"

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Zona horaria del colaborador: Asia/Hong_Kong (GMT+08:00)

Este tema contiene 2 respuestas, tiene 2 mensajes.

Última actualización por dirkF-2 3 years ago.

Asistido por: Luo Yang.

Autor
Mensajes
#2609469
Untitled-6.png

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!

#2609511

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: enlace oculto

Page with view block:
enlace oculto
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:
enlace oculto
It works fine.

#2609545

Thank you! My issue is resolved now.