Interface of a translator to convert a text between languages. More...
Inherited by ILanguageInstantTranslator.
Public Member Functions | |
| Task< string > | Translate (string text, CultureInfo target=null, CultureInfo source=null) |
| Translate specified text from source language to target language. More... | |
Interface of a translator to convert a text between languages.
| Task<string> Translate | ( | string | text, |
| CultureInfo | target = null, |
||
| CultureInfo | source = null |
||
| ) |
Translate specified text from source language to target language.
| text | Text. |
| target | Target language, current language by default. |
| source | Source language, auto detection by default. |
Implemented in GoogleLegacyLanguageTranslator, and MyMemoryLanguageTranslator.