Posted by: | jonathan.beaubien@thq.com | |
Data created: | 22 February 2011 |
Hi... I made an about form and I localized it in english (default) and french. And I created an ActionItem to display it with the tutorial found on this website. However, even if I change the UI language, the form always show in english. I thought maybe I localized it wrong, so I created a test app, but it shows in the proper language. The bug only appears when I load it with the Max.NET library. So the problem does not come from the form itself, but from elsewhere. Here is a simplified version of my ActionItem code. The real code gets the Max's hwnd and implement the IWin32Window inteface to parent that dialog to Max. public override bool ExecuteAction() FormAbout currAboutForm = new FormAbout(); currAboutForm.ShowDialog(); return true; When I debug, the culture is indeed french after the first statement. Then the form gets created. When I check its fields while debugging, all the strings are in english. And off course, the shown dialog is in english. I was wondering if there is something particular with Max.NET or with 3D Studio Max that forces all the forms to be in english or disrupts the .NET's localization mecanism. Thank you !
Jonathan Beaubien |