Hi,
at the moment I try to find a solution for my docking context menu. I need to have a "hot" switch possibility for the culture. In my Application I have a combo box to change the current language. The resources should be changed on the fly. The only solution I found so far to change the strings of the context menu are these statements:
ActiproSoftware.Products.Docking.SR.SetCustomString(ActiproSoftware.Products.Docking.SRName.UICommandMakeFloatingWindowText.ToString(), "Float Translation");
ActiproSoftware.Products.Docking.SR.SetCustomString(ActiproSoftware.Products.Docking.SRName.UICommandMakeDockedWindowText.ToString(), "Dock Translation");
ActiproSoftware.Products.Docking.SR.SetCustomString(ActiproSoftware.Products.Docking.SRName.UICommandToggleWindowAutoHideStateText.ToString(), "Translation for Auto Hide");
ActiproSoftware.Products.Docking.SR.SetCustomString(ActiproSoftware.Products.Docking.SRName.UICommandCloseWindowText.ToString(), "Translation for Close");
But this only works, before the window is created. Once the context menu is created, you cannot change the entry string with these SetCustomString functions.
How can I have dynamic language support for the docking context menu?