Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to customize missing answer notice

More
7 years 10 months ago #159820 by william71
Hi,
I need to customize both the missing answer pop up and the red notice which indicates that mandatory answers are missing. Essentially, because they should sound more friendly in the context of our survey.

A grep search within all limesurvey files, that is:
Code:
grep -r -e 'muss beantwortet'
, returned:
Code:
locale/de/de.mo
locale/de-informal/de-informal.mo

Questions:
Is /local/de/de.mo the appropriate file to change the notice?
Which is the right way to edit this file, since it is a binary?

Many thanks and kind regards
Wilhelm
The topic has been locked.
More
7 years 10 months ago - 7 years 10 months ago #159823 by Joffm
Hello, William,

to change the wording you have to download the *.po file (de.po) here: www.limesurvey.org/community/contribute/translations-status

This can be edited e.g. with "poedit" ( poedit.net/ )

Saving the file automatically creates the de.po and the de.m, which you upload to the locale-folder.

The look and feel of the red notice should be changeable by a bit of css
At the moment there is only:
Code:
.questionvalidcontainer .text-danger {
    font-weight: bold;
}

So either in "template.css" or directly in the question text add your desired changes, like "color:yellow", "font-style:italic", etc.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 10 months ago by Joffm.
The topic has been locked.
More
7 years 10 months ago #159824 by tpartner
More about modifying the translation files here - www.limesurvey.org/manual/Translating_LimeSurvey

I would create a new translation so it won't get overwritten when updating.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 10 months ago - 7 years 10 months ago #159825 by william71
Dear Joffm and tpartner,
many thanks, your answer was really helpful!
Wilhelm

(thanks!)
Last edit: 7 years 10 months ago by william71.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose