language: en, zh, jp, fra, th..., see https://www.cnblogs.com/pieguan/p/10338255.html

translator(words, from = "en", to = "zh", split = TRUE, verbose = TRUE)

Arguments

words

words

from

source language, default "en"

to

target language, default "zh"

split

split to blocks when your words are too much

verbose

verbose

Value

vector

Examples

if (FALSE) { # \dontrun{
translator(c("love", "if"), from = "en", to = "zh")
} # }