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.
try this line:
ContentLanguageSettingsHandler.Instance.Get(Contentlink).Where(c => c.LanguageBranchFallback.Contains("en-NZ")).Select(c => c.LanguageBranch).ToList()
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.