Wanzyee Studio
GoogleLegacyLanguageTranslator

Google translator web client using legacy API. More...

Inherits ILanguageInstantTranslator.

Public Member Functions

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

Detailed Description

Google translator web client using legacy API.

Member Function Documentation

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

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.

Implements ILanguageTranslator.