title: iOS: How to Get the Device Current Language Setting?
body: <p>There are some features within my application that are supposed to be based on the language settings of the device where it's running.</p>
  
  <p>I want to get the actual language and not some country settings. Foe example, if the language is English, I don't care if it's US, UK, Australia, etc...</p>
  
  <p>I'm familiar with the <code>NSLocale</code> object, but it seems to relate to the <code>Region Format</code> setting and not to the <strong>Language</strong> setting (see screen shot below) so when I try to retrieve the language out of it using <code>[locale displayNameForKey:NSLocaleIdentifier value:[locale localeIdentifier]</code> I get things like <code>English (United States)</code> instead of <code>English</code>; also, I think that what I need is the <strong>Language</strong> data and not the <strong>Region Format</strong> (am I right?).</p>
  
  <p>Can anyone direct me to how to retrieve the language setting?</p>
  
  <p><img src="https://i.stack.imgur.com/yXRXL.png" alt="enter image description here"></p>