Contents

targetLanguage

The output language to translate into.

Declaration

final let targetLanguage: Locale.Language?

Discussion

If this value is set to nil, the session chooses an optimal language to translate into based on the sourceLanguage and the person’s preferredLanguages.

See Also

Getting the language configuration