title: Appium | How can I change language on API 24 or higer emulator?
body: <p>I set these capabilities for AVD in my code.</p>
  
  <p>AND 6.0.0 API 23:</p>
  
  <pre><code>capabilities.SetCapability(AndroidMobileCapabilityType.Avd, “AND_6.0.0_1080x1920_4.95in”);
  capabilities.SetCapability(MobileCapabilityType.PlatformName, “Android”);
  capabilities.SetCapability(MobileCapabilityType.DeviceName, “AND_6.0.0_1080x1920_4.95in”);
  capabilities.SetCapability(MobileCapabilityType.PlatformVersion, “6.0”);
  capabilities.SetCapability(MobileCapabilityType.Language, Session.Language);
  capabilities.SetCapability(MobileCapabilityType.Locale, Session.Locale);
  capabilities.SetCapability(MobileCapabilityType.App, app);
  </code></pre>
  
  <p>AND 7.0.0 API 24:</p>
  
  <pre><code>capabilities.SetCapability(AndroidMobileCapabilityType.Avd, “AND_7.0.0_1080x1920_4.95in”);
  capabilities.SetCapability(MobileCapabilityType.PlatformName, “Android”);
  capabilities.SetCapability(MobileCapabilityType.DeviceName, “AND_7.0.0_1080x1920_4.95in”);
  capabilities.SetCapability(MobileCapabilityType.PlatformVersion, “7.0”);
  capabilities.SetCapability(MobileCapabilityType.Language, Session.Language);
  capabilities.SetCapability(MobileCapabilityType.Locale, Session.Locale);
  capabilities.SetCapability(MobileCapabilityType.App, app);
  </code></pre>
  
  <p>Language is “cs” or “en” and Locale is “CZ” or “US”.</p>
  
  <p>When I running tests on AND 6.0.0 I can change language on every start, but on AND 7.0.0 is language everytime set to english.</p>
  
  <p>Please, where is problem? I want to change language also on AND 7.0.0. I have also capabilities for AND 5 and 4 and its working, but on AND 7 and 8 its not working.</p>