Finding all the languages for which a language is a fallback for


I can get a fallback language for a language using this –

var fallbackLang = ContentLanguageSettingsHandler.Instance.GetFallbackLanguages(Contentlink, "en-NZ");

but how do I do the opposite of this? Like I know the fallback language, but I want to identify for what all languages it serves as a fallback.

Mar 22, 2017 19:37

try this line:

ContentLanguageSettingsHandler.Instance.Get(Contentlink).Where(c => c.LanguageBranchFallback.Contains("en-NZ")).Select(c => c.LanguageBranch).ToList()

Apr 14, 2017 19:32
* 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.