View source: R/batch_translate.R
batch_translate | R Documentation |
This function translates a file into each target language using the polyglotr package's translate_file function, and saves the translated files.
batch_translate(input_file, source_language, target_languages)
input_file |
A character string indicating the path to the input file. |
source_language |
A character string indicating the source language. |
target_languages |
A character vector indicating the target languages. |
Nothing is returned.
## Not run:
batch_translate("README.md", "nl", c("fr", "es", "de"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.