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

# source

The language to translate content from.

## Declaration

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

## Discussion

Discussion If left to its default value of nil, the session tries to identify the source language automatically, and prompts the person to choose a source language if it’s unclear. Changing this value cancels the previous task and creates a new one.

## See Also

### Specifying translation languages

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