Set survey language properties

lsSetLanguageProperties(
  surveyID,
  properties,
  lang = NULL,
  lsAPIurl = getOption("lsAPIurl"),
  sessionKey = NULL
)

Arguments

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 lsGetSessionKey()

Value

OK if save successful otherwise error text

References

https://api.limesurvey.org/classes/remotecontrol_handle.html#method_set_language_properties

See also

Examples

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")) }