getResources().getString() doesn't work after orientation has been changed
<p>My android application is in dual language. So I have 2 res folder value and value-sw(for swahili). I am fetching string values from this file in design and also at run time. For example in layout:</p>

<pre><code>android:hint="@string/Officer"
</code></pre>

<p>and in code:</p>

<pre><code>getResources().getString(R.string.Officer);
</code></pre>

<p>To change the locale setting I have function which I call on onCreate() which looks like this:</p>

<pre><code>public void ChangeLanguage(Context ctx,String Language){
        Resources res = ctx.getResources();
        DisplayMetrics dm = res.getDisplayMetrics();
        android.content.res.Configuration config = res.getConfiguration();
        config.locale = new Locale(Language.toLowerCase());
        res.updateConfiguration(config, dm);
}
</code></pre>

<p>All works fine. Problem comes only if I change the orientation.</p>

<p>For example on start up I set the language to Swahili. So everything is in Swahili. Now if I change the orientation from vertical to horizontal or vice-verse.  Textbox box hint which was set in layout remains in Swahili which I expect. But getResources().getString(R.string.Officer); fetches value from the default value file, which is English.</p>

<p>Any suggestions?</p>
