Site Default Language

Topics: Customizing Orchard
Mar 10, 2012 at 10:06 AM

In a previous thread (http://www.codeplex.com/orchard/discussions/346873) I asked about localizing javascript files and got good support from sfmskywalker. However we did found out that Orchard is not setting the CurrentThread.CurrentUICulture on every request to the site defined in the general settings.

The localization of the resources depends on the "CultureInfo.CurrentUICulture.Name" so in theory the current thread's UI culture should be set imho. 

Am I missing something out here or is it a design decission from the Orchard team? Would be gr8 if you could shed a bit of light on this. C

thnx :)