How to change language in runtime
<p>I had read about localization here: <a href="http://developer.android.com/guide/topics/resources/localization.html" rel="nofollow">http://developer.android.com/guide/topics/resources/localization.html</a>
But I need to switch language in my android applicartion in run time, e.g. via Spinner.</p>

<p>I attempted to do subj in this way</p>

<pre><code>DisplayMetrics dm = res.getDisplayMetrics();
Configuration conf = res.getConfiguration();
conf.locale = new Locale(language_code.toLowerCase(),
coutry_code.toUpperCase());
res.updateConfiguration(conf, dm);
</code></pre>

<p>but all changes apply only after restarting app
Could anyone help me?</p>
