- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
To my kniowledge Limesurvey 2 supports multilingual question attributes at the advanced question settings.debianese wrote: Thanks! But I have another question: How can you localize the error message?
I have to create a survey in german and english. The error message should be in the selected language!
TMSWhite wrote: For 1.92, you can do this:
{if(validation_expression,'',if(LANG=='en','Please enter a valid ....','Bitte antworten ...'))}
For 2.0, I'd recommend making this field one of those that can be translated into multiple languages via the quick translation feature.
DenisChenu wrote: Hello,
Can use pseudo class lang too in template.css:
Code:<span lang="en">'Please enter </span><span lang="de">Bitte antworten</span>
And in template.cssCode::lang(en) :lang(de){display:none} :lang(de) :lang(en){display:none}
Denis
Your right. Thanks!holch wrote: This should be a pure CSS based solution, as you can see.