Localizing ModernDialog buttons

Sep 12, 2014 at 4:21 PM

I need to know how can I localize buttons of a ModernDialog.

When I call:

ModernDialog.ShowMessage("test", "test", MessageBoxButton.YesNoCancel);

The buttons are not localized to my current culture. To check, if I use the regular MessageBox class, the buttons are shown correctly:

MessageBox.Show("test", "test", MessageBoxButton.YesNoCancel);

How can I fix that?

Thank you,

Sep 13, 2014 at 4:08 PM
Привет, Игорь!

Открой исходники и переведи ресурсы. Они находятся в Resources.resx.

Sep 15, 2014 at 4:49 PM
Hello Maranz,

Although my name is Igor, I do not speak Russian. What a shame!

Well, I see what you say about localizing the source code. I tried to simply add a new resource for my locale, but this seems not to be enough (no results).

Do you think I may have to use some localization library, like WPF localization extension? Did you make such change on ModernDialog before?

Thank you,