View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
07214Bug reportsSurvey takingpublic2013-03-20 14:26
ReporterDenisChenu Assigned ToDenisChenu  
PrioritynormalSeverityminor 
Status closedResolutionwon't fix 
Summary07214: Sub question are not translated when changing language
Description

The subquestion are not translated during survey taking if language are changed.

Steps To Reproduce

Make a survey with 2 language.
In this survey put a "Multi text" question.
Put the language changer in startpage.pstpl (then can be used in each page : are in citronadentemplate)
Change the language: all text seems to be translated except sub question.

Additional Information

In SQ modules, the answers(sub question) are taken with:
if (isset($this->children)) return $this->children;

protected $children;
protected function getChildren()

The var are protected, then we can not change outside.
Then some solution

  • set $children public and change it frontend_helper/ UpdateSessionQuestion function
    or
  • add the $language in function getChildren : function getChildren($language);

Maybe a lot of other solution when rework on plugin/question are made ;)

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)130121
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant
Git branch / Pull Request URL

Relationships

child of 07213 closedDenisChenu Question will not be translated if you change the language during the survey 

Users monitoring this issue

c_schmitz

Activities

DenisChenu

DenisChenu

2013-01-29 11:05

developer   ~23870

Need more advice for "Question modules" !

  • set $children public and change it frontend_helper/ UpdateSessionQuestion function
    or
  • add the $language in function getChildren : function getChildren($language);

or another solution ?

DenisChenu

DenisChenu

2013-03-20 14:26

developer   ~24807

Won't fix: it's an 2.1 issue. Need confirmation for future Question plugin system.

Issue History

Date Modified Username Field Change
2013-01-21 09:06 DenisChenu New Issue
2013-01-21 09:06 DenisChenu Status new => assigned
2013-01-21 09:06 DenisChenu Assigned To => sammousa
2013-01-21 09:07 DenisChenu Relationship added child of 07213
2013-01-29 10:57 c_schmitz Assigned To sammousa => DenisChenu
2013-01-29 11:05 DenisChenu Note Added: 23870
2013-01-29 11:05 DenisChenu Issue Monitored: c_schmitz
2013-02-21 20:07 DenisChenu Project Bug reports => @10@
2013-03-20 14:26 DenisChenu Note Added: 24807
2013-03-20 14:26 DenisChenu Status assigned => closed
2013-03-20 14:26 DenisChenu Resolution open => won't fix