title: List available languages of an iOS app in swift
body: <p>What is the easiest way to list available languages of an iOS app in Swift ?</p>
  
  <p>Here is what I would like to do :</p>
  
  <pre><code>let availableLanguages: [String] = ?
  let currentLanguage = Locale.current.languageCode
  
  if !availableLanguages.contains(currentLanguage) {
      UserDefaults.standard.set("en", forKey: "AppleLanguage")
  }
  </code></pre>
  
  <p>I would like to replace the "?" with the cleanest solution.</p>
  
  <h1>Edit</h1>
  
  <p>By available, I mean Language for which the app has a Localizable.string</p>