Set survey language properties
lsSetLanguageProperties( surveyID, properties, lang = NULL, lsAPIurl = getOption("lsAPIurl"), sessionKey = NULL )
surveyID | ID of the survey |
---|---|
properties | A list with the particular field names as keys and their values to set on that particular survey |
lang | (optional) Language code for the language to update - if not given the base language of the particular survey is used |
lsAPIurl | (optional) The URL of the LimeSurvey RemoteControl 2 JSON-RPC API |
sessionKey | (optional) Authentication token, see |
OK
if save successful otherwise error text
https://api.limesurvey.org/classes/remotecontrol_handle.html#method_set_language_properties
if (FALSE) { lsSetLanguageProperties("123456", properties = list( surveyls_email_confirm = "Hallo, this text comes from LimeRick")) lsSetLanguageProperties("123456", lang = "fr", properties = list( surveyls_email_confirm = "Bonjour, this text comes from LimeRick")) }