Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:
  • Page:
  • 1
  • 2

TOPIC: Dual Scale problem - multiple languages

Dual Scale problem - multiple languages 5 years 10 months ago #50006

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi,

I am attempting to put together a survey in English and German.

Everything appears to work really well with one significant problem with dual scale questions (The whole survey is based on dual scale questions).

It does not appear possible to create Header A and Header B (in the Advanced set up mode) in English and German. If I swap between English and German tabs to write the Headers in German they then appear in German in the English tab.

See image of output for the English version. I believe that I am using the latest version of software.

Is there something that I am missing or is this a bug?

Regards
Chris
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50043

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9295
  • Thank you received: 1330
  • Karma: 386
This is not really a bug.

It's a misfunction. :(
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50053

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi,

I am sorry I don't understand the difference between a bug and a misfunction.

So is it a misfunction that is due to be fixed. If so, when?

The reason that I ask is that I might be willing to donate money to get this fixed quickly. It is only for a single very small project so I do not want to spend much, and I can get around the problem by using numbers rather than words for the headers.

Kind regards
Chris
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50060

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 1008
  • Thank you received: 135
  • Karma: 97
Hello Chris,

this would require multilingual question attributes which are not easily to implement - so this would not be a quick fix.

I could however provide a way for a workaround using the normal translation files - it is a little work to implement but should work just fine.
Best regards

Carsten Schmitz
LimeSurvey project leader
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50062

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9295
  • Thank you received: 1330
  • Karma: 386
Alternative solution is to use some javascript in question to update the .text of the 2 dual scale.

Maybe something like that.
<script>
jQuery(document).ready(
    function(){
        $('#questionXXX tr.array1.groups .dsheader:nth-child(1)').text('langage text scale 1');
        $('#questionXXX tr.array1.groups .dsheader:nth-child(2)').text('langage text scale 2');
    }
);
</script>

Maybe we can add a class to .dsheader:
<th class="dsheader headscalea" colspan="4">Scale A</th>
and
<th class="dsheader headscaleb" colspan="4">Scale A</th>
To make it more easy to select and transform.
?
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
The following user(s) said Thank You: 55chris55

Dual Scale problem - multiple languages 5 years 10 months ago #50117

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi Carl and Schnoulle,

Thanks so much for your input.

I think I prefer Carl's solution rather than go down the java route.

I am not a coder but I do have some history of corporate firewalls not always liking java.

Carl how quickly could you resolve this and how much would you like me to donate?

Kind regards
Chris
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50141

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9295
  • Thank you received: 1330
  • Karma: 386
55chris55 wrote:
I am not a coder but I do have some history of corporate firewalls not always liking java.
javascript are used by google, yahoo ....

javascript, not java ;)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50142

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi,

To follow up on the dual scale issue, is it possible to create the response set attached?

I can't quite see how to do this?

Many thanks
Chris
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50146

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9295
  • Thank you received: 1330
  • Karma: 386
I think you can use
'Array number', and ask for a notation

Maybe some javascript to have the heading like you want.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 10 months ago #50156

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi Shnoulle,

Thank you for this.

I understand that I can create the top headings (My Job, My Department, Company) for each language with some javascript, yes?

I have created using the following; "Array (multi-flexi) (numbers)"

I have tried this and it works really well, apart from one problem.

I really need the drop down to be a list rather than numeric only. I cannot see how to add the notation you mention?

Can you advise me please?

Kind regards
Chris
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.284 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form