Android Application change language when waking from sleep
<p>I have problem, with my application. I'm giving users an option to change language. That works great using the following code:</p>

<pre><code>public void jezik_slo(View view)
{
     Locale locale = new Locale("SI_sl");
     Locale.setDefault(locale);
     Configuration config = new Configuration();
     config.locale = locale;
     this.getApplicationContext().getResources().updateConfiguration(config, null);
}

public void jezik_ang(View view)
{
     Locale locale = new Locale("en_US");
     Locale.setDefault(locale);
     Configuration config = new Configuration();
     config.locale = locale;
     this.getApplicationContext().getResources().updateConfiguration(config, null);
}
</code></pre>

<p>Everything is ok, except when locking the phone, or if phone goes to sleep, and then waking up. At that point the application uses the DEFAULT string values(Values -EN)
How can I solve this?</p>
