Small wrapper for translating using googleLanguageR.
Usage
translate(text, source = "nl", target = "en")
Arguments
- text
Character vector to translate
- source
Source language using two letter code.
- target
Target language using two letter code. Default: 'en' for English
Value
translated character vector
Examples
translation <- translate("Mooi weer is het vandaag")
#> 2024-05-14 22:17:59.805907 -- Translating text: 24 characters -