I am using Visuals Components in my application that supports many langages and i want that context menu and tollbar of controls messages change when i change language of my application.
I used this snipest of code that i call when initializing components of my form:
If i set the langage of my application to French then i change it to English, As result, i have context menu of DocumentViewer set in English, the context menu of selected block in the ImageViewer also but the Toolbar and the context menu of ImageViewer still displayed in French as shown on the following image:
When i close my application and re open it without changing langage (keeping it set to English), the toolbar and contextMenu of imageViewer are displayed in English.
Can you help me please why the langage for ImageViewer is not updated from the first time like the DocumentViewer control? Am i missing an instruction to update the langage for toolbar and context menu of ImageViewer?
Thanks in advance.
Yours sincerely, Ameny.
The Visual Components require a reboot after changing the interface language. The simplest solution is to change the language before the Visual Components opening. This can be done, for example, in the constructor of the main form before calling the InitializeComponent.
answered 13 Jan '15, 17:47
Anna Falevskaya ♦♦