Hi People, I have Limesurvey 3.25, I make a survey with register mode and I want to change the text on spanish that appear when you access to the survey, how can I do this? I attach image
Extend you theme and place something like this in register_message.twig:
Code:
{%if registerSuccess %}<p {{ aSurveyInfo.attr.registermessageb }}>{{ gT("Thank you for registering. You will receive an email shortly.")}}</p>{%else%}{%if sStartDate %}<p {{ aSurveyInfo.attr.registermessagea }}>{{ gT("You may register for this survey but you have to wait for the {{sStartDate}} before starting the survey.")}}</p>{%else%}<p {{ aSurveyInfo.attr.registermessageb }}>{%if aSurveyInfo.sLanguage =='es'%}
My custom Spanish text...{%else%}{{ gT("You may register for this survey if you wish to take part.")}}{%endif%}</p>{%endif%}<p {{ aSurveyInfo.attr.registermessagec }}>{%if aSurveyInfo.sLanguage =='es'%}
Some more Spanish text...{%else%}{{ gT("Enter your details below, and an email containing the link to participate in this survey will be sent immediately.")}}{%endif%}</p>{%endif%}{%if not empty(aSurveyInfo.aErrors)%}<ul class='{{ aSurveyInfo.class.maincoldivdivbul }} alert alert-danger list-unstyled'{{ aSurveyInfo.attr.maincoldivdivbul }}>{%forkey, error in aSurveyInfo.aErrors%}<li>{{ error }}</li>{%endfor%}</ul>{%endif%}
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.