translate: Translate text between languages

Description Usage Arguments Value Examples

View source: R/translate.R

Description

Translate text between languages

Usage

1
translate(text, from = "en", to, ...)

Arguments

text

A character string containing a text

from

A two-letter language code specifying the language of the source text.

to

two-letter language code specifying the language to translate in to.

...

Additional arguments passed to translateHTTP.

Value

A character string containing the translation.

Examples

1
2
3
4
## Not run: 
  translate("hello world!", to = "fr")

## End(Not run)

aws.translate documentation built on March 13, 2020, 3:24 a.m.