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.
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
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.
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
is working on a reply...