translate {aws.translate}R Documentation

Translate text between languages

Description

Translate text between languages

Usage

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

## Not run: 
  translate("hello world!", to = "fr")

## End(Not run)

[Package aws.translate version 0.1.4 Index]