Wanzyee Studio
ILanguageInstantTranslator

Interface of an instant translator to convert dynamic text between languages. More...

Inherits ILanguageTranslator.

Inherited by GoogleLegacyLanguageTranslator, and MyMemoryLanguageTranslator.

Public Member Functions

Task< string > Translate (string text, CultureInfo target=null, CultureInfo source=null)
 Translate specified text from source language to target language. More...
 

Detailed Description

Interface of an instant translator to convert dynamic text between languages.

Member Function Documentation

Task<string> Translate ( string  text,
CultureInfo  target = null,
CultureInfo  source = null 
)
inherited

Translate specified text from source language to target language.

Parameters
textText.
targetTarget language, current language by default.
sourceSource language, auto detection by default.
Returns
The task of the translation.

Implemented in GoogleLegacyLanguageTranslator, and MyMemoryLanguageTranslator.