Welcome, Guest
Username: Password: Remember me

TOPIC: Multi-lingual Preview Current Question Group

Multi-lingual Preview Current Question Group 2 years 2 months ago #73404

  • tacman1123
  • tacman1123's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 125
  • Karma: 1
I love the way you get to choose a language when testing a survey. I'd also like that feature when previewing a question group.

In the question group, it shows up in the base language, and using the drop-down to switch languages doesn't work for surveys that aren't active, it goes to the index page and just says no surveys available.
The administrator has disabled public write access.

Re: Multi-lingual Preview Current Question Group 2 years 2 months ago #73461

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
You are right that we should offer the language choice when clicking at the grou preview button. You can "try" to sell this as a bug at our bugtracker.

I couldn't reproduce the jump to the index page when using the language switch at the group preview though. Please switch on debug mode by adding the following line to your config.php file:
$debug = '1';

Are there any additional errors reported on top of the page?

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Multi-lingual Preview Current Question Group 2 years 2 months ago #73499

  • TMSWhite
  • TMSWhite's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 81
  • Karma: 36
For the time being, you can use the Show Survey Logic button (QA) in 1.92 RC3 to show language-specific views of the survey at the group and question levels. This can help you validate that you have the properly translated text and logic.
The administrator has disabled public write access.

Re: Multi-lingual Preview Current Question Group 1 year 11 months ago #80436

  • winther
  • winther's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Sounds like you can make the group preview work in other languages if the survey is active - if so how do you do it? I can only show it in the base language as you describe and if I try to change it - limesurvey just bails out to the index.php page and tells me there is not active survey available (which theoretically is correct - no public survey are availabe, but not the behaviour I would expect.
The administrator has disabled public write access.

Re: Multi-lingual Preview Current Question Group 1 year 11 months ago #80449

  • winther
  • winther's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 10
  • Karma: 0
Never mind my previous question - I now figured out a work-around. If others need it - this is what I did.

Log in to lime using the language you want to use in the preview. Go to the group preview page. In the header add &lang=xx where xx is the languagecode you want. Now you get the correct version.

Don't know if this is helpful to others but it worked for me.
The administrator has disabled public write access.

Re: Multi-lingual Preview Current Question Group 1 year 11 months ago #80454

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5279
  • Thank you received: 289
  • Karma: 246
winther wrote:
Log in to lime using the language you want to use in the preview. Go to the group preview page. In the header add &lang=xx where xx is the languagecode you want. Now you get the correct version.
You can add this as a feature request at our feature tracker . Please describe your idea as detailed as possible and try to outline a suitable solution/implementation as well.
Shouldn't be too hard to implement this like it is done for the survey preview.

Please also add a note at our manual soothers know how to call a certain language preview.
Thanks!

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Time to create page: 0.163 seconds
Donation Image