search
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More.
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.