November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
BaseLibrary and Implementation assemblies were removed in EPiServer v9. Use:
EPiServer.Globalization.ContentLanguage.Instance.PreferredCulture
Valdis, if i want to change the ContentLanguage, if I set it as follow,is it correct ?
var culture = new CultureInfo("no"); ContentLanguage.PreferredCulture = culture;
I would be cautious with this.. What is usage scenario for you? Why you are changing content language? Are you switching to different language in the site or need to fetch content in different langauge?
I'm using this code in a situation where switching to different language in the site
There is a possibility of setting it is as
ContentLanguage.Instance.SetCulture("no");
but i'm not sure which one to use
I'm using following im my project
but after EPiServer 9 upgrade, i'm getting that "Context" is not available in the "EPiServer.BaseLibrary" any more. So what shall I do ?