Hi
What do I have to do when a MessageBox.Show(...) in a code behind file shall use WPFSharp.Globalizer?
I did not find any example for this.
Actually i am using a delegate from viewmodel to view to setup a function when the messagebox should appear:
UCCommunicationViewModel? viewmodel = this.DataContext as UCCommunicationViewModel;
if (viewmodel != null)
{
viewmodel.MBErrorInitialize = (title, text) =>
{
//title and text contains the keys for globalizer
return MessageBox.Show(text, title, MessageBoxButton.OK, MessageBoxImage.Error);
};
}
How can i evaluate the keys in title and text to print out the localized strings?
Hi
What do I have to do when a MessageBox.Show(...) in a code behind file shall use WPFSharp.Globalizer?
I did not find any example for this.
Actually i am using a delegate from viewmodel to view to setup a function when the messagebox should appear:
How can i evaluate the keys in title and text to print out the localized strings?