I am new to .NET and need your help to sort out one issue. I want to change the language of my program using following code:
Expand|Select|Wrap|Line Numbers
- System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("en-US");
- System.Threading.Thread.CurrentThread.CurrentCulture = new System.Globalization.CultureInfo("en-US");
If I change the cultureinfo code to de-DE then it works fine. But if i change the cultureinfo code to en-US, it gives error "Target invocation exception unhandled" and inner exception is "cannot locate resouce app.xaml".
Any feedback is appreciated.
Thanks and regards,
DS