Skip Navigation

[Resolved] Translate [wpv-post-previous-link link="Previous Post"] with WPML

This thread is resolved. Here is a description of the problem and solution.

Problem:
Translate [wpv-post-previous-link link="Previous Post"] with WPML

Solution:
You can use the shortcode [wpml-string] in order to localize your string value and translate it from WPML String Translation.

[wpv-post-previous-link format="" %%LINK%%" link="[wpml-string context='wpv-views']Previous Post[/wpml-string]"]

Relevant Documentation:
https://toolset.com/documentation/translating-sites-built-with-toolset/wpml-string-shortcode/

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

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Nicholas 5 years, 6 months ago.

Assisted by: Minesh.

Author
Posts
#1104854

Hello how can I translate this shortcode [wpv-post-previous-link link="Previous Post"] with WPML.

Thanks,
Nick

#1105306

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - you can use the shortcode [wpml-string] in order to localize your string value and translate it from WPML String Translation.

For example:

[wpv-post-previous-link format="" %%LINK%%" link="[wpml-string context='wpv-views']Previous Post[/wpml-string]"]

More info:
=> https://toolset.com/documentation/translating-sites-built-with-toolset/wpml-string-shortcode/

#1109102

thanks

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.