- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to customize missing answer notice
- william71
- Topic Author
- Offline
- New Member
Less
More
6 years 8 months ago #159820
by william71
How to customize missing answer notice was created 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:
, returned:
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
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'
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.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13233
- Thank you received: 4064
6 years 8 months ago - 6 years 8 months ago #159823
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How to customize missing answer notice
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:
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
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: 6 years 8 months ago by Joffm.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10149
- Thank you received: 3607
6 years 8 months ago #159824
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic How to customize missing answer notice
More about modifying the translation files here -
manual.limesurvey.org/Translating_LimeSurvey
I would create a new translation so it won't get overwritten when updating.
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.
- william71
- Topic Author
- Offline
- New Member
Less
More
- Posts: 10
- Thank you received: 0
6 years 8 months ago - 6 years 8 months ago #159825
by william71
Replied by william71 on topic How to customize missing answer notice
Dear Joffm and tpartner,
many thanks, your answer was really helpful!
Wilhelm
(thanks!)
many thanks, your answer was really helpful!
Wilhelm
(thanks!)
Last edit: 6 years 8 months ago by william71.
The topic has been locked.