Hello,
I want to change the language of my application at runtime. It works so far, but when a control is already displayed, its text doesn't get translated when the language is changed dynamically.
I use the follow code to change the language:
System.Threading.Thread.CurrentThread.CurrentUICulture = new System.Globalization.CultureInfo("de-DE");
When I close the window and reopen it, the proper language text is shown. What do I have to do, to update the text on an already loaded control?
I use the XamDataGrid and the "group by area" is translated, but only when the control is not already loaded.
Hello Markus,
Have you updated the control's Language property? Note, the controls only look at the application's CurrentCulture upon initial load. If you need to change the language during runtime after the control has already been created then you will need to use the Language property.
I recommend reviewing the following code project article:
http://www.codeproject.com/Articles/23694/Changing-Your-Application-User-Interface-Culture-O
Let me know if you have any questions regarding this matter.
Note, this topic was previously discussed over on this forum post:http://es.infragistics.com/community/forums/t/92531.aspx
Let me know if you have any questions.