Skip Navigation

[Resolved] Not possible to translate inputs_placeholder of [wpv-control-distance] shortcode

This support ticket is created 6 years, 10 months 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.

This topic contains 1 reply, has 1 voice.

Last updated by sebastianK-3 6 years, 10 months ago.

Author
Posts
#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.