<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macOS: 26.0.0 -",
    "tvOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Vision",
  "identifier" : "/documentation/Vision/RecognizeDocumentsRequest/TextRecognitionOptions-swift.struct/recognitionLanguages",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Vision"
    ],
    "preciseIdentifier" : "s:6Vision25RecognizeDocumentsRequestV22TextRecognitionOptionsV20recognitionLanguagesSay10Foundation6LocaleV8LanguageVGvp"
  },
  "title" : "recognitionLanguages"
}
-->

# recognitionLanguages

An array of languages to detect, in priority order.

```
var recognitionLanguages: [Locale.Language]
```

## Discussion

The order of the languages in the array defines the order in which the system uses languages
during language processing and text recognition.

Specify the languages as two-letter ISO language codes.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)