Hi - I'm trying to translate some views using WPML. So far, the fields pulled in by the view are getting translated. But there are a few text strings built into the view itself, and I haven't been able to figure out how to translate those.
On /wp-admin/admin.php?page=wpml-translation-management%2Fmenu%2Fsettings, I have Views set to Translatable in the Post Types Translation section. But when I look at the list of views or go to edit an individual view, I don't see a translation option.
I found what look like some, but not all, of the relevant strings in the String Translation section. But adding a translation there has not made the relevant text show up where it should within the view.
What should I be doing differently to get that text translated?
Thanks!
Sarah
Hi Sarah,
Thank you for contacting us and I'd be happy to assist.
As explained in our documentation, when the page with the view is translated, its text should also become available for translation:
https://toolset.com/lesson-placement/lesson-placements-1707695-1720753/#translating-views
Can you please share temporary admin login details along with the example page where these untranslated strings can be seen?
Note: Your next reply will be private and please make a complete backup copy, before sharing the access details.
regards,
Waqar
I think I figured it out - it seems to work to go into the view and wrap the string in question in [wpml-string context="wpv-views"][/wpml-string] (as discussed in https://toolset.com/documentation/legacy-features/translating-legacy-workflows/wpml-string-shortcode/).
For what it's worth, I didn't see any way to do what https://toolset.com/lesson-placement/lesson-placements-1707695-1720753/#translating-views is talking about - possibly because I'm using legacy views on this site, not the blocks? Anyway, I think it's all set now.