Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Hi,
Can anyone please tell me how to detect the language the editor is working in Edit Mode ?
I don't wnat the language of the page they're editing, but the language they are working in.
Usually I'd go after:
EPiServer.Personalization.EPiServerProfile.Current.Language
but this returns an empty string if the language isn't specifically specified.
There's HttpContext.Current.Items.ContentLanguage, but I can't find any documentation for this.
Cheers,
Andy