title: Unable to change app language at runtime on Xamarin Forms -> Android
body: <p>I'm developing a crossplatform app using Xamarin Forms, primary target Android.
  The app I'm working on refers to <code>.resx</code> files for languages.
  The translations works fine as the phone is set to different langauges.</p>
  
  <p>How can I switch languages from the app settings at runtime on the fly?</p>
  
  <p>I tried using <code>DependencyService</code> to call a function on Android side, but, despite returning with no error, it doesn't change the language.</p>
  
  <p>C# project</p>
  
  <pre><code>bool test = DependencyService.Get&lt;ILanguageService&gt;().SetLanguage(selectedLang.StringValue);
  </code></pre>
  
  <p>Android Project</p>
  
  <pre><code>[assembly: Dependency(typeof(LanguageService))]
  namespace MyLangApp.Droid.Service
  {
      public class LanguageService:ILanguageService
      {
          public bool SetLanguage(string lang = "")
          {
              try
              {
                  Locale locale = string.IsNullOrEmpty(lang) ? new Locale("en-US") : new Locale(lang);
                  Locale.Default = locale;
                  var config = new Android.Content.Res.Configuration();
                  config.Locale = locale;
                  var context = Android.App.Application.Context;
                  context.Resources.UpdateConfiguration(config, context.Resources.DisplayMetrics);
                  return true;
              }
              catch
              {
                  return false;
              }
          }
      }
  }
  </code></pre>