Willkommen, Gast
Benutzername: Passwort: Angemeldet bleiben:

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

Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88018

  • lfortunato
  • lfortunatos Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
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 :)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88023

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6277
  • Dank erhalten: 802
  • Karma: 241
You can have your own translation string

Denis
(see automatic link)
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88030

  • lfortunato
  • lfortunatos Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
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...
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88033

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6277
  • Dank erhalten: 802
  • Karma: 241
Get the last po/mo files from 1.02 here: www.limesurvey.org/en/contribute/translations-status

Denis
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88042

  • lfortunato
  • lfortunatos Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
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!
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88044

  • DenisChenu
  • DenisChenus Avatar
  • OFFLINE
  • Moderator Lime
  • Beiträge: 6277
  • Dank erhalten: 802
  • Karma: 241
lfortunato schrieb:
Any ideas??? Thx!
Maybe this text is not in translation string ?

Don't know....
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88062

  • lfortunato
  • lfortunatos Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
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....
Der Administrator hat öffentliche Schreibrechte deaktiviert.

Re: Multiple choice question with comments - Custom 'Print answers' and 'PDF Export' 1 Jahr 9 Monate her #88098

  • lfortunato
  • lfortunatos Avatar
  • OFFLINE
  • Junior Lime
  • Beiträge: 38
  • Dank erhalten: 1
  • Karma: 1
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 :)
Der Administrator hat öffentliche Schreibrechte deaktiviert.
Moderatoren: ITEd
Ladezeit der Seite: 0.151 Sekunden
Donation Image