Hello,
I want to set the localization by code. So, I use this line in my static constructor of my own Report class :
Code: Select all
StiMainMenuService.GetService(new StiDesigner()).SetLocalization("fr.xml");
StiConfig.Save();
I works on several computers. But, on some computers (and I don't know why), it doesn't work, the selected language is well French but the designer and the preview are in English. We must choose the French language again with the designer in order to work (we click on the French line in the language menu item although this line is already selected).
Is there a better solution to set localization by code ?
Cordially,
Kakone.