Localization .NET 2.0 VS2005

Docking/MDI for Windows Forms Forum

Posted 14 years ago by Johny menmonic
Avatar
Hello,
I want to localize my app to various languages.
When I set Form.Localizable to true and after that compile and run it's ok. But when I set a new language in Form.Language and compile and run, debugger rises an exception in this part:
//
// toolWindowContainer1
//
this.toolWindowContainer1.AccessibleDescription = null;
this.toolWindowContainer1.AccessibleName = null;
resources.ApplyResources(this.toolWindowContainer1, "toolWindowContainer1");
this.toolWindowContainer1.BackgroundImage = null;
///////////////////////////////
// NullReferenceException on the next line
///////////////////////////////
this.toolWindowContainer1.Controls.Add(this.searchToolWindow);

this.toolWindowContainer1.DockManager = this.mainDockManager;
this.toolWindowContainer1.Font = null;
this.toolWindowContainer1.Name = "toolWindowContainer1";


The bug is the same in your sample app when I set the language.
There might be some problem with satellite assemblies and resources, but don´t know.
Please help, I really need to localize.

Comments (1)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi there, we were just working on this based on a request by another customer. We've made a number of text properties on the dock controls Localizable and also believe we fixed this issue that you posted about.

If you'd like to try out a "preview" build of the next maintenance release to make sure we fixed it properly, send us an email and we can hook you up with it.


Actipro Software Support

The latest build of this product (v2020.1 build 0400) was released 2 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.