title: How to change input method in WPF?
body: <p>I want to plug in a Spanish or German keyboard and I would like the textbox in my WPF application to recognize the German or Spanish characters.  </p>
  
  <p>This can be achieved by changing locale of the system through regional settings and picking up a Spanish or a German keyboard as IME. But I need to change the locale of the system programmatically rather than manually.</p>