Issue with WPML and Pods Templates since 2.8
-
Hi, first of all, let me say that I love Pods and the way you work, guys. Thank you very much. Since the last Pods updates (2.8 and 2.8.1), I have found an issue working with a multilanguage website using WPML. Let me explain the issue with a simple case I have reproduced from scratch:
-I’m using WPML to create a multi-language website.
-I create two different Custom Post Types with Pods 2.8.1.
-I create a bidirectional relationship field on each pod relating the other pod
-I create a Post of each CPT and I relate them in the commented relationship field.
-I set Both CPT as ‘Translatable – use translation if available or fallback to default language’ on WPML.
Up to this point, everything works fine, as usual.-I generate a simple pods template calling the relationship using [each…]{@name}[/each].
-I enable automatic pod templates for the pod and I assign the template.
-The template works fine with the default language and shows the related items on the post front page.
-I set the Pods Templates as ‘Translatable – only show translated items’ in WPML
-I translate the Template to other languages leaving the template title blankHere comes the problem:
-When I change the language in the front, the related posts aren’t shown on the post front page, they are only shown with the default language, but not in the other languages.
-If I make the related pod as ‘Not translatable’ in the WPML settings, then the related posts are shown in all the languages, but if I do so, the pods that are now not translatable, are only shown in the default language, and I want them as ‘Translatable – use translation if available or fallback to default language’.Sorry for the detailed and long explanation. I was just trying to reproduce the issue step by step. Maybe I’m missing something, but before updating to Pods 2.8, the translated templates were showing the relationships in all languages and at the same time the posts were appearing as translated, having set all the custom post types as ‘Translatable – use translation if available or fallback to default language’ (Make ‘Pod’ appear as translated).
I hope you can give me a hand.
Thanks a lot!
- The topic ‘Issue with WPML and Pods Templates since 2.8’ is closed to new replies.