We created a view in a custom template and now we created the english translation of the content template: all have been translated except for the slider because the view says "items not found". We tried to edit the view within the custom template in the english version but it doesn't seem to work.
Any help on this, please?
Franco
Hello Franco and thank you for contacting the Toolset support.
You should not edit the view on the secondary language. Views are not translated like content templates. But the strings inside of them should be translated.
I run a test on a clean install and I was able to translate the string in the translation editor, but it does not get translated on the frontend. So, I put the string inside a wpml-string shortcode, and activated autoregister strings in WPML->String Translation. The string was registered in English even though my default language is French. So, I changed the language of the string to French, translated it. And it worked. Check this screenshot hidden link
The steps to follow are:
1. Wrap the string inside the wpml-string shortcode. hidden link
2. Activate autoregister strings in String Translation. hidden link
3. Force registration of the string by visiting the post(content template) in both languages.
4. Search for the string in String Translation and change the source language. hidden link
5. Translate the string in String Translation.
Please try this and let me know if it helps.