Language change on button click
<p>stucked with one problem that in my application i have one button which is having text SPANISH on it. On the click of this button i want to change the whole application to Spanish language. </p>

<pre><code>Locale mLocale = new Locale("es");
    Locale.setDefault(mLocale); 
    Configuration config = getBaseContext().getResources().getConfiguration(); 
    if (!config.locale.equals(mLocale)) 
    { 
        config.locale = mLocale; 
        getBaseContext().getResources().updateConfiguration(config, null); 
    }
</code></pre>

<p>I also have created two separate Strings.xml file. but not got success.
I want to change the application language on button click.</p>

<p>Thanks</p>
