Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Eran Meir 401 posts 543 karma points
    Apr 01, 2011 @ 15:12
    Eran Meir
    0

    umbracoDefaultUILanguage - what does it do?

    Hey, I'm trying to understand what umbracoDefaultUILanguage does beside changing login screen.
    there's no info about it in the wiki.
    From what I understand if you want to change the backend language you need to change the user language.
    If someone can spread some light about it, it would be very helpful.

    Thank you.

     

  • Eran 292 posts 436 karma points
    Apr 05, 2011 @ 01:42
    Eran
    0

    i  you will open the umbraco source file:\umbraco\businesslogic\ui.cs, you will see that when the system is trying to get the current language for the current user in this order:

    1. Check if the user is logged in, if they are, return their language specified in the database

    2. If they aren't logged in, check the current thread culture

    3. however if that is null, then return the default Umbraco culture - and that default language is defined in umbracoDefaultUILanguage

Please Sign in or register to post replies

Write your reply to:

Draft