Hi,
Browsing trough the forum, I found a lot of statements on polylang and the problems it experiences.
I ran into the issue that I could not build a condition set for a layout based on the current language.
So I decided to create my plugin to provide this.
This plugin works nicely, it registers {{dc.polylang.currentlang}} to return the current active language on the website which you can then compare to the slug e.g. nl or en in my case.
What I tried to achieve with the dynamic options was that the selection of the polylang variable would display a list of available languages in the 3rd box where I could then select is or is not in the 2nd.
However, I’m unable to connect these two, so somewhere I’ve missed something, or this is not possible at all.
Any help appreciated.