Is it possible to check (in a template), if content in a given language is available?
What I'm trying do:
I have laguage switch flags at the top of my page. But for some pages there is no translation available. So I want to check if the translation is available and if not, hide the according flag.
Why I'm trying to do this:
Of course you can hide empty menu items (for example with alby's tip from his "HowTo-Thread"). But when you are on a page and you switch the laguage, and the translation does not exist, you'll end up with an empty page. And I would like to avoid that, by disableling the flag, if the translation does not exist.
So does someone have a clue how to get this done? Thanks a lot for you help!
