Skip to contents

Mozhi is a privacy-respecting frontend that was born as a fork of SimplyTranslate but now has many more features and supports many more engines.

Usage

mozhi(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 Mozhi instance URL you want to use

engine

The translation engine you want to use. You can see which ones are available using get_mozhi_engines() function

Examples

if (FALSE) { # \dontrun{
mozhi(from = "en", to = "es", str = "hello")
} # }