translate Internal
abstract suspend fun translateInternal(sourceLanguage: TranslateLanguage, targetLanguage: TranslateLanguage, text: String): TranslationResult
Internal method that performs the actual translation from one language to another. This method is used by the translate method and is not meant to be called directly by consumers.
Return
A TranslationResult object containing the translation result.
Parameters
source Language
The source language.
target Language
The target language.
text
The text to translate.