Navigation überspringen

[Gelöst] Not possible to translate inputs_placeholder of [wpv-control-distance] shortcode

This support ticket is created vor 6 Jahren, 10 Monaten. 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.

Dieses Thema enthält 1 Antwort, hat 1 Stimme.

Zuletzt aktualisiert von sebastianK-3 vor 6 Jahren, 10 Monaten.

Author
Artikel
#625579

I am using [wpml-string] shortcodes to localize a map view with filter form. Everything works fine, except the inputs_placeholder of the [wpv-control-distance] shortcode. I set it to a value as follows:

inputs_placeholder='[wpml-string context="wpv-views"]<label>City</label>%%CENTER%%<label>Show results within</label>%%DISTANCE%%[/wpml-string]'

The string

'<label>City</label>%%CENTER%%<label>Show results within</label>%%DISTANCE%%'

appears in WMPL string translation, but the translated version just isn't displayed, it always shows the original version. Any ideas?

Thanks,
Sebastian

#625581

As if by magic the problem solved itself just a minute later.