Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Dual Scale problem - multiple languages

Dual Scale problem - multiple languages 5 years 4 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 4 months ago #50043

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8249
  • Thank you received: 1126
  • Karma: 336
This is not really a bug.

It's a misfunction. :(
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 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 4 months ago #50060

  • c_schmitz
  • c_schmitz's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 921
  • Thank you received: 131
  • Karma: 96
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 4 months ago #50062

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8249
  • Thank you received: 1126
  • Karma: 336
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.
?
The administrator has disabled public write access.
The following user(s) said Thank You: 55chris55

Dual Scale problem - multiple languages 5 years 4 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 4 months ago #50141

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8249
  • Thank you received: 1126
  • Karma: 336
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 ;)
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 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 4 months ago #50146

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

Maybe some javascript to have the heading like you want.
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 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.

Dual Scale problem - multiple languages 5 years 4 months ago #50157

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

Original image was too big.

I have now adjusted and I hope that you can understand my problem?

Kind regards
Chris
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 months ago #50158

  • 55chris55
  • 55chris55's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 13
  • Karma: 0
Hi - Trying one more time to upload screenshot !!!
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 months ago #50164

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 8249
  • Thank you received: 1126
  • Karma: 336
I think using of number and explain in help.

But if you really need text selection.

see tpartner post : www.limesurvey.org/en/support/forums/2-d...nu-matrix-multi-flex
The administrator has disabled public write access.

Dual Scale problem - multiple languages 5 years 4 months ago #50191

  • Mazi
  • Mazi's Avatar
  • Online
  • LimeSurvey Team
  • Posts: 5843
  • Thank you received: 348
  • Karma: 261
You can also use javascript to change the drop-down texts. Assign number like 1,2,...,x and then use JS to replace these numbers with a different text.
At the database the assigned number will be stored so you need some mapping when analysing data.

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.

Dual Scale problem - multiple languages 5 years 4 months ago #50214

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

Thank you so much for your help with this.

In some ways it is a lot more complicated than I had hoped. But I can also see a workaround that although it would not be elegant would require no extra programming.

Can I ask do you have any javascript examples of this kind of thing that I could use as a template?

Secondly, and forgive me if this is an inappropriate request, do you hire yourselves out to do these occasional custom jobs? If so approximately how long would it take, and how much would you charge to create the Question style and template that would work in multiple languages for the concept example that I provided earlier?

Kind regards
Chris
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.250 seconds