<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 15.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Translation",
  "identifier" : "/documentation/Translation/TranslationSession/Configuration/target",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Translation"
    ],
    "preciseIdentifier" : "s:11Translation0A7SessionC13ConfigurationV6target10Foundation6LocaleV8LanguageVSgvp"
  },
  "title" : "target"
}
-->

# target

The language to translate content into.

```
var target: Locale.Language?
```

## Discussion

If left to its default value of `nil`, the session picks a target language
according to the `source` and the person’s <doc://com.apple.documentation/documentation/Foundation/Locale/preferredLanguages>.
Changing this value cancels the previous tasks and creates a new one.

---

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)