title: Check language in iOS app
body: <p>Task is : I have got two UIImageViews, and I want present ImageView1 if system language is Ukrainian, and if it is not Ukrainian(English/Polish etc) I want present ImageView2.</p>
  
  <p>I tried : </p>
  
  <pre><code>println(NSUserDefaults.standardUserDefaults().objectForKey("AppleLanguages"))
  </code></pre>
  
  <p>but this code gives only list of available languages. I also tried </p>
  
  <pre><code>var language: AnyObject? = NSLocale.preferredLanguages().first
  </code></pre>
  
  <p>but how can I compare this variable with English or Ukrainian language? </p>