deepel_rstudioapi_2ZH {deepRstudio}R Documentation

Translate Selected Text to Chinese via DeepL API

Description

Translate the selected text in RStudio into Chinese using the DeepL API with auto-detection of the source language. This function uses free-version DeepL API (https://api-free.deepl.com/v2/translate).

Usage

deepel_rstudioapi_2ZH()

Details

Translate Selected Text to Chinese via DeepL API

This function uses the rstudioapi to execute Chinese translation of the selected text using the DeepL API. It will attempt to auto-detect the language of the text and translate it into Chinese. First, select the text and execute "DeepL Translation into Chinese" from addins. As a result, the selected part will be translated into Chinese.

Value

A message indicating the completion of the translation.

Author(s)

Satoshi Kume

Examples

## Not run: 

#Select the following text: "La selección está traducida al inglés."
#Then, execute "DeepL Translation into Chinese" from RStudio addins.


## End(Not run)

[Package deepRstudio version 0.0.9 Index]