Language switcher: only show published translation page
SOLVE
I’ve a a custom language switcher on a blog. Currently it shows me all language options, even the ones which are in draft, not published yet. So this language option should not be displayed.
Is there a way to only display the language options which are published?