Question regarding localization

Stimulsoft Reports.WPF discussion
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question regarding localization

Post by HighAley »

Hello.

We have made an improvement.
The current language will be checked in our prerelease build from February 14.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Question regarding localization

Post by PJoyeux »

Thanks! Great support again! 8-)

Cheers and have a nice weekend!
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question regarding localization

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Question regarding localization

Post by PJoyeux »

Just checked the newest version and it works, thanks!

Cheers,
Pascal
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Question regarding localization

Post by Andrew »

Hello,

Great! Have a nice week.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Question regarding localization

Post by PJoyeux »

Well, almost... ;-)

If the user selects a language the checkmark indeed appears correctly...

But my application sets a starting localization with StiConfig.LoadLocalization (...). In this case the checkmark is not shown.

Once the user starts selecting a localization, then the checkmark appears in front of the selected localization.

How do I set the localization correctly from code in order to let the checkmark appear in fron of the localization?

Cheers,
Pascal
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Question regarding localization

Post by HighAley »

Hello.

We have added a SelectedItem parameter to the LoadCustomerLocalizationEventArgs.

Next code will work in our next prerelease build on Friday:

Code: Select all

private void designer_LoadCustomerLocalization(object sender, LoadCustomerLocalizationEventArgs e)
        {
            e.Items = new string[] { "de", "en"};
            e.Processed = true;
            e.SelectedItem = "de";
        }
Thank you.
User avatar
PJoyeux
Posts: 160
Joined: Tue Nov 26, 2013 9:40 am
Location: Germany

Re: Question regarding localization

Post by PJoyeux »

I just downloaded the newest release and this works fine! Thanks!

Cheers,
Pascal
Andrew
Posts: 4108
Joined: Fri Jun 09, 2006 3:58 am

Re: Question regarding localization

Post by Andrew »

Hello,

Great! Have a nice day!
Post Reply