Contents

target

The language to translate content into.

Declaration

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 preferredLanguages. Changing this value cancels the previous tasks and creates a new one.

See Also

Specifying translation languages