Метод | Описание | |
---|---|---|
Languages ( ) : Primitive |
Get an array of language codes and their language. The array indices are the required language codes for the Translate method.
|
|
Translate ( Primitive input, Primitive languageFrom, Primitive languageTo ) : Primitive |
Translate a text from one language to another.
|
Метод | Описание | |
---|---|---|
GetHeader ( ) : void | ||
GetLanguageNames ( List |
||
GetLanguagesForTranslate ( ) : List |
||
TranslateMethod ( string sourceText, string langFrom, string langTo ) : string |
public static Translate ( Primitive input, Primitive languageFrom, Primitive languageTo ) : Primitive | ||
input | Primitive | The text to translate. |
languageFrom | Primitive | The language code to translate from. |
languageTo | Primitive | The language code to translate to. |
Результат | Primitive |