title: Which languages are available for text recognition in Vision framework?
body: <p>I'm trying to add the option to my app to allow for different languages when using Apple's Vision framework for recognising text.</p>
  
  <p>There seems to be <a href="https://developer.apple.com/documentation/vision/vnrecognizetextrequest/3152644-supportedrecognitionlanguages" rel="nofollow noreferrer">a function</a> for programmatically returning the supported languages but I'm not sure if I'm calling it correctly because I'm only getting "en-US" back which I'm <em>fairly</em>
   sure isn't the only supported language?</p>
  
  <p>Here's what I currently have:</p>
  
  <pre><code>// current revision number of Vision
  let revision = VNRecognizeTextRequest.currentRevision
  var possibleLanguages: Array&lt;String&gt; = []
  
  do {
      possibleLanguages = try VNRecognizeTextRequest.supportedRecognitionLanguages(for: .accurate, 
                                                                              revision: revision)
  } catch {
      print("Error getting the supported languages.")
  }
  
  print("Possible languages for revision \(revision):\n(possibleLanguages.joined(separator: "\n"))")
  </code></pre>
  
  <p>Any help would be much appreciated, thank you.</p>