Check out the LimeSurvey source code on GitHub!

Dual Scale problem - multiple languages

More
6 years 3 months ago #50006 by 55chris55
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
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago #50043 by DenisChenu
This is not really a bug.

It's a misfunction. :(

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
6 years 3 months ago #50053 by 55chris55
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

Please Log in to join the conversation.

More
6 years 3 months ago #50060 by c_schmitz
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

Please Log in to join the conversation.

More
6 years 3 months ago #50062 by DenisChenu
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
The following user(s) said Thank You: 55chris55

Please Log in to join the conversation.

More
6 years 3 months ago #50117 by 55chris55
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

Please Log in to join the conversation.

More
6 years 3 months ago #50141 by DenisChenu
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
6 years 3 months ago #50142 by 55chris55
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
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago #50146 by DenisChenu
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 development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
6 years 3 months ago #50156 by 55chris55
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

Please Log in to join the conversation.

More
6 years 3 months ago #50157 by 55chris55
Hi Sorry,

Original image was too big.

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

Kind regards
Chris

Please Log in to join the conversation.

More
6 years 3 months ago #50158 by 55chris55
Hi - Trying one more time to upload screenshot !!!
Attachments:

Please Log in to join the conversation.

More
6 years 3 months ago #50164 by DenisChenu
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

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
6 years 3 months ago #50191 by Mazi
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)survey-consulting.com'"

Please Log in to join the conversation.

More
6 years 3 months ago #50214 by 55chris55
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

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form