protected static void LoginControl_LoggedIn(object sender, EventArgs e)
EPiServerProfile profile = EPiServerProfile.Current;
CultureInfo newCulture = new CultureInfo(profile.Language);
ContentLanguage.PreferredCulture = newCulture;
A solution for this has been discussed in the following thread:
RegardsLinus EkströmEPiServer Development Team
I have tested this some more and come to the conclusion that the approach or a browser detectiong works, but this requires that the user has the "right" language set up for their browser. I have forwarded a request to the EPiServer product management to add a preffered content language setting for the profile to be able to handle this the same way as the ui language settings that exists today.
That would be great. The browser detection is a work around for now, but the best thing would be to display the page tree with the content language for the logged in user. Could you let me know when you get an answer from the EPiServer product management?