> if you want to set custom culture to 'de', please use 'de-DE'.
Yes, I already discovered this workaround. My Community Server installation has only neutral languages defined. So it was an inconvenience to me taking me a few hours to figure out what was going on. Finally I ended up with this code:
protected void Application_AuthenticateRequest(Object sender, EventArgs e)
{ User user = CSContext.Current.User; if (user.Profile.Language == "de") // fixes a bug where neutral cultures < en-us are ignored System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE"); else System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo(user.Profile.Language); // set config so that CurrentUICulture is used CuteChat.ChatApi.SetConfig("CultureType", "Server"); CuteChat.ChatApi.SetConfig("CurrentCulture", ""); } |
So, although I realize there's a workaround, I'd still like to see the bug fixed. Most bugs have workarounds, it's just usually a major pain having to figure out what that workaround is.
Thanks,
Troy