Try our conversational search powered by Generative AI!

How do I read the currently used language in the edit/admin pages?

Vote:
 
I need to know what language is used in edit/admin pages. Im trying to call EPiServer.Personalization.EPiServerProfile.Current.Language but it only returns an empty string.
#16001
Feb 18, 2008 8:49
Vote:
 
You're using the correct property, but it will return an empty string if selected value from dropdown is "Use system language". See: http://labs.episerver.com/en/Blogs/Mari-Jorgensen/Dates/112298/2/Reflect-user-language-in-custom-properties-and-plugins/
#16784
Feb 18, 2008 9:05
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.