powered by
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)
Nothing is returned.
A character string indicating the path to the input file.
A character string indicating the source language.
A character vector indicating the target languages.
if (FALSE) { batch_translate("README.md", "nl", c("fr", "es", "de")) }
Run the code above in your browser using DataLab