Try our conversational search powered by Generative AI!
AI OnAI Off
Hi Jon
You should be able to use the GetLanguageBranches method on the IContentRepository to get the ianguage branches for a piece of content:
http://world.episerver.com/documentation/Class-library/?documentId=cms/9/8334A9A3
From there you can toggle the appropriate language switcher options as appropriate.
David
Hi,
Is it possible to detect if a Page has been Translated in the CMS so I can hide the Language Toggle dropdown on the Masterpage if it hasnt been Translated.
I know there is a default fallback language but the client wants to Hide the toggle on pages that havent been translated.
Jon