Localization problem
Hi.
I have some localization problem.
I created Windows.Forms.Form, Added DesignerControl and in DesignerForm_Load i added this code:
But when form shows the localization looks haotic. Some of the labels, menus etc., are on Croatian but some of them are on default language English.
If i change the location from menu everything is ok.
I have attached Print Screen of my form for better understanding (red is bad blue is ok).
I am using demo version of FastReport v1.3.51.0
Tnx.
I have some localization problem.
I created Windows.Forms.Form, Added DesignerControl and in DesignerForm_Load i added this code:
.....
string localePath = string.Format(@"{0}\{1}.frl", prop.LocalizationPath, prop.Language);
FastReport.Utils.Res.LoadLocale(localePath); //loading croatian
designerControl1.RefreshLayout();
.....
But when form shows the localization looks haotic. Some of the labels, menus etc., are on Croatian but some of them are on default language English.
If i change the location from menu everything is ok.
I have attached Print Screen of my form for better understanding (red is bad blue is ok).
I am using demo version of FastReport v1.3.51.0
Tnx.
Comments
You should call LoadLocale method before opening a designer (or before creating the DesignerControl).