update_survey_translations: Update survey translation

Description Usage Arguments Details Value Examples

View source: R/survey-definitions-languages.R

Description

Update survey translation

Usage

1
update_survey_translations(survey_id, language_code, survey_translation)

Arguments

survey_id

the survey id

language_code

the language code

survey_translation

list with all translated survey fields (see get_survey_translations)

Details

Update a surveys translation by provind a list of survey elements' translations for a given language.

Value

A status.

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
# retrieve translation from a survey
srv_transl_pt <- get_survey_translations("SV_dnEGNjwrSTQXxiZ", "PT")
# create pt translation in other survey
update_survey_languages("SV_6fj3YgWt6ocXL1A", "PT")
# update the PT translation
update_survey_translations(id, "PT", srv_transl_pt)

## End(Not run)

ppssphysics/QualtricsInR documentation built on Aug. 30, 2021, 8:12 a.m.