London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
AI OnAI Off
London Dev Meetup Rescheduled! Due to unavoidable reasons, the event has been moved to 21st May. Speakers remain the same—any changes will be communicated. Seats are limited—register here to secure your spot!
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