Try our conversational search powered by Generative AI!

Detect if page has been translated



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.


Jun 23, 2017 17:15

Hi Jon

You should be able to use the GetLanguageBranches method on the IContentRepository to get the ianguage branches for a piece of content:

From there you can toggle the appropriate language switcher options as appropriate.


Jun 23, 2017 18:40
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.