---
title: target
framework: translation
role: symbol
role_heading: Instance Property
path: translation/translationsession/configuration/target
---

# target

The language to translate content into.

## Declaration

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

## Discussion

Discussion If left to its default value of nil, the session picks a target language according to the source and the person’s preferredLanguages. Changing this value cancels the previous tasks and creates a new one.

## See Also

### Specifying translation languages

- [source](translation/translationsession/configuration/source.md)
