Skip to contents

SimplyTranslate has support for three translation engines: Google Translate, inCIBA and Reverso. You can specify which one do you want to use session-wide or every time you execute the function. This function also helps with the selection of the SimplyTranslate instance you want to use.

Usage

simplytranslate(from, to, str, instance = NULL, engine = NULL)

Arguments

from

Source language. Specify it with the code following the ISO 639 standard

to

Specify it with the code following the ISO 639 standard

str

Text to translate

instance

The SimplyTranslate URL you want to use

engine

The translation engine you want to use: "google", "reverso" or "inciba"

Examples

if (FALSE) { # \dontrun{
simplytranslate(from = "en", to = "es", str = "hello", instance = "https://simplytranslate.org)")
} # }