Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'

More
4 years 11 months ago #88018 by lfortunato
lfortunato created the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
Hello!
With this kind of question (multiple choice with comment), I have to make a simple customization.... but I'm not able to do it!!!! (ARGH!!)

I have activated the "Print answers" and "Export PDF" functionalities on a survey,
and now I have to personalize the print and the PDF showing the text
"Your suggestions" instead of "Comments"
in every questions with type Multiple choice question with comments.

I'm using LS Version 1.92
Please, someone could help me?

Thank you :)

Please Log in to join the conversation.

More
4 years 11 months ago #88023 by DenisChenu
DenisChenu replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
You can have your own translation string

Denis
(see automatic link)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 11 months ago #88030 by lfortunato
lfortunato replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
Thanks for your quick reply!

Following the link you have suggested,
in the section 'Customize an existing translation'
I can see that the URL translate.limesurvey.org
shows only Limesurvey 2.x. but now I have a survey completely configured with Limesurvey 1.92

Have I missed something?
Thank you again...

Please Log in to join the conversation.

More
4 years 11 months ago #88033 by DenisChenu
DenisChenu replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
Get the last po/mo files from 1.02 here: www.limesurvey.org/en/contribute/translations-status

Denis

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 11 months ago #88042 by lfortunato
lfortunato replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
Hi Denis... I'm still working on this :(

Downloaded po/mo files, I've done everything with the instructions by the LS website.

I've edited the *.po file and I've added the translations substituting all occurences of 'comment' and 'Comment' with my string which is 'Suggestions'.

Saved and putted the .mo file in the right directory.

I activate my survey and I can see all my updates of the translation
in the admin interface, but when I click 'Print your answers' function,
the text 'Comment' is still there in every questions having type (Multiple choice with Suggestions)...

Any ideas??? Thx!

Please Log in to join the conversation.

More
4 years 11 months ago #88044 by DenisChenu
DenisChenu replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'

lfortunato wrote: Any ideas??? Thx!

Maybe this text is not in translation string ?

Don't know....

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
4 years 11 months ago #88062 by lfortunato
lfortunato replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
I've substituted many occurrences of 'comment' (in capital letter and/or in lowercase) in the .po file

I have one doubt that the text 'Comment'
in 'Print your answers' function (printanswers.php)
could come from the names of the fields in the table lime_survey_<IDSURVEY>.

When one question has a type Multiple choice with comment,
in this table I find the related field that has 'comment' as suffix of the field name.

Please, anyone can give me suggestions?
Thanks again....

Please Log in to join the conversation.

More
4 years 11 months ago #88098 by lfortunato
lfortunato replied the topic: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export'
Thank you Denis, and thank you Luciano (lfanfoni).
I wrote to Luciano a message in my language (Italian) and I found the mistake...

I didn't substituted the string 'Comment' with only the first capital letter, but all other occurrences of the same string...

At last all works fine!!!
Thank you all again :)

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now