Translate Qualtrics qsf file (assumes qsf is in english and generated by a compatible version of iatgen package).
The goal of tr.iatgen is to …
You can install the development version of tr.iatgen:
::install("iatgen/tr.iatgen"); devtools
library(tr.iatgen)
available.languages()
Code Source Target Description
1 en_en English English English to English
2 en_jp English Japanese English to Japanese
3 en_pt-pt English Portugese English to Portugese
4 en_pt-br English Portugese Brazilian English to Portugese Brazilian
5 en_tr English Turkish English to Turkish
6 en_de English German English to German
7 en_it English Italian English to Italian
library(tr.iatgen)
export.template()
[1] "/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/tr.iatgen/templates/en_en.csv"
library(tr.iatgen)
validate.language(file="en_cs.csv")
[1] "cs"
library(tr.iatgen)
translate.qsf(file="iat-flowins.qsf", lang="pt", dst_file="iat-flowins_pt.qsf")
[1] "iat-flowins_pt.qsf"
library(tr.iatgen)
::runApp() tr.iatgen
{source language}_{destination language}
Where source and destination languages are defined in BCP471 and IANA2.
Examples:
en_pt-BR -- English translation to Portuguese
en_ja -- English translation to Japanese