powered by
Read-in iatgen generated QSF file and translated it to a target language specified by user either from the list of available languages included in tr.iatgen package or using the custom supplied translation file.
translate.qsf(file, lang, lang_file = NULL, src_lang = "en", dst_file = NULL)
Translated file path/location (class: character)
qsf file
Target language (abbreviation).
CSV file containing custom translation.
Source language -- "en" for english is the only supported one.
save the translated file as. If NULL temporary file will be created.
# example code my_qsf_file <- system.file("examples/iat-flowins.qsf", package = "tr.iatgen") translate.qsf(file = my_qsf_file, lang = "pt-pt")
Run the code above in your browser using DataLab