Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am building a multi-lingual site. Instead of using the Umbraco languages for each site in the node I want each site to look up at at Site Config node and set the site culture from the property value set on the node. Is that possible? Any help much appreciated.
before replying I've got to ask, what do you need to do that?
And now, answering your actual question, you can use the thread culture, for example:
var cultureInfo = CultureInfo.GetCultureInfo("es-ES");
Thread.CurrentThread.CurrentCulture = cultureInfo;
Thread.CurrentThread.CurrentUICulture = cultureInfo;
Yes I tried this and I didn't hit much luck!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted