It's wrong to have messageboxes directly from the ViewModel. Instead you should raise events and let the view do the UI. Otherwise you couldn't unit test the ViewModel, and that's one of the main goals of the MVVM pattern.
I am not directly pooping it from view model I have kept the messanger helper class in the view and I am just calling it in viewmodel and passing message in it. My question is that how can I convert the message text that I am passing from view model in the selected language automatically like BamTool doing for view section. – Syeda Sep 27 at 6:50 Ok, then you could pass not the message directly from the ViewModel but a key to allow the view to find the correct message and localize it.
– SoMoS Sep 27 at 9:43.
If you are using . Resx files to manage you translations, you can simply make them generate code (with Access Modifier: Public in the combo box at the . Resx screen) and then make the VM send the messages directly to the view.
That way the underlying functionality of code-generated resource files will return the translated version of the desired text.
blogs.microsoft.co.il/blogs/tomershamam/... check this. You can send localized text from VM by calling the translate method from the code. For example LanguageDictionary.Current.
Translate("resourceKey","value Name").
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.