title: Refresh android application after language change
body: <p>I am developing an app which supports two languages. There is one ToggleButton to change language.I am using following code to change locale and all works fine.</p>
  
  <pre><code>Resources res = viewDashBoardScreen.getResources(
  // Change locale settings in the app.
  DisplayMetrics dm = res.getDisplayMetrics();
  android.content.res.Configuration conf = res.getConfiguration();
  conf.locale = new Locale("es".toLowerCase());
  res.updateConfiguration(conf, dm);
  </code></pre>
  
  <p><strong>Question</strong>: How to refresh whole app after language change ?</p>
  
  <p>Currently I am restarting that activity in which language is changed. It works fine but is it good practice ? Or is there any other way to apply language change in app. </p>
  
  <p>Any help would be greatly appreciated..Thanks.</p>