View source: R/translate_view.R
translate_view | R Documentation |
When you pass in an English or Chinese word, this function will Open Youdao website browse translation results.
translate_view(input, from = "auto", to = "auto")
input |
An English or Chinese word. |
from |
The source language, an optional parameter. |
to |
The target language, an optional parameter. |
A list consisting of Phonetic, explains, etc about target language.
# Example(Not run)
# translate_view("good")
# translate_view("quarto", from = "en", to = "zh-CHS")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.