title: Language change to arabic not working?
body: <p>I have implemented change language from settings as per this <a href="https://stackoverflow.com/questions/40221711/android-context-getresources-updateconfiguration-deprecated/40704077#40704077">ans</a> , but after killing of my application some of the screen of application turned to english.</p>
  
  <p>I have implemented code as below
  Code for Splash Screen</p>
  
  <pre><code>String   deviceLanguage = Locale.getDefault().getLanguage();
  
  if (!"en".equalsIgnoreCase(deviceLanguage) &amp;&amp; !"ar".equalsIgnoreCase(deviceLanguage)){
              deviceLanguage="en";
          }
  ((AppController)getApplication()).appLang= Utilities.getSaveData(this, getString(R.string.key_language),deviceLanguage);
  </code></pre>
  
  <p>Code for Detail Activity</p>
  
  <pre><code>@Override
  protected void attachBaseContext(Context newBase) {
      super.attachBaseContext(MyContextWrapper.wrap(newBase, ((AppController)newBase.getApplicationContext()).appLang));
  }
  </code></pre>
  
  <p>Note : I got this problem in one plus 3T device and genymotion emulator with 5.1 android version</p>