Try our conversational search powered by Generative AI!

How to get the "Language settings" for a particular page?

Vote:
 

Each page could have its own language settings (Tools button -> Language Settings)

How to get them programmatically?

#76097
Oct 16, 2013 19:22
Vote:
 

You should be able to get that through EPiServer.Core.IContentLanguageSettingsHandler interface. The actual component that implements the interface can be retreived from IOC container like:

var languageSettingsHandler = ServiceLocator.Current.GetInstance<IContentLanguageSettingsHandler>();

#76127
Oct 17, 2013 13:27
Vote:
 

Thank you)

#76433
Oct 24, 2013 12:18
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* 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.