Update survey translation

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)

Value

A status.

Details

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

Examples

if (FALSE) { # 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) }