Try our conversational search powered by Generative AI!

Default language for EpiServer administrators


I'm very new to EpiServer - evaluating it for a new client.

Not only is it going to be a multilanguage website (about 14 we think!), but we'll also have fairly non technical users doing the translation for each page, and using at the very least the Quick Edit mode, and for one or two users, the admin facility.

Is there any way the forum knows in which I could set a default language, per user, so that for example, our Portuguese manager could log in and immediately see the Portuguese page-tree structure, rather than having to select this from the page or language view drop-downs?





Apr 23, 2008 18:11

Hi Julian.

 I tried to find out the same thing, but had no luck(ref One "work around" is for the user to go the Portuguese url for the site first, then enter edit mode. Then the current threads culture will be set to Portuguese. With Reflector i found out that the page tree language drop down is set with EPiServer.Globalization.ContentLanguage.PreferredCulture.Name, and this is determined by the threads current culture.

Let me know if you find out a way to solve this matter!



Apr 23, 2008 23:41

I've had a hunt and agree with Tore - it seems that the whole Edit context picks up your culture. As far as I can tell you'd need to 'set your culture' before you even enter the Edit side.

One way you could achieve this is by detecting client browser locale on your start page and auto-directing to the appropriate language branch (if available). That would mean the user would already have set their culture before they tried to log in. This might not be a bad idea anyway but depending on your end user base it might not be ideal.

Another way might be to abstract the virtual folder for your UI as a VPP and then do some clever jiggery pokery to set the culture before the actual Edit page was invoked. You could use a custom VPP, for example. 

You could go for a techie solution such as a HTTP module to try and switch culture on the fly on certain requests but there's all sorts of issues with that and I think it would be a sledgehammer to crack a nut, so to speak!

Let me know if you find a cleaner solution that these - I might be looking too hard for a solution to a non-existent problem!

- Dan


Apr 25, 2008 12:49
* 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.