Changing Questionnaire Prompts Into Another Language

18 views
Skip to first unread message

Jordan Axt

unread,
Apr 28, 2021, 6:14:29 AM4/28/21
to min...@googlegroups.com
Hello,

I am translating a prior study from English into Chinese and am looking to translate some of the button and prompt language. I can't find a clear place to change this in my code and I imagine it involves over-writing some pre-existing setting on the questionnaire template.

I was specifically hoping to make the following changes:

1) The 'Please respond to this question' prompt when submitting a page with a missing item should now say: 请回答这个问题.

2) The 'Submit' button for submitting responses should now read: 提交

3) The 'Decline' button for skipping a response should now read: 拒绝回答

Can anyone let me know how to update this text?

Thanks for your help,
Jordan

--
Jordan Axt

Mayan Navon

unread,
Apr 28, 2021, 6:37:25 AM4/28/21
to Jordan Axt, Minno.js
Hi Jordan,

1. This should be edited in the 'required' property of the question. For example:
   API.addQuestionsSet('basicTemplate', 
    {
        type: 'selectOne',
        style:'multiButtons',
        minWidth: '12%',
        autoSubmit:true,
        numericValues:true,
        required:true,
        errorMsg: {
        required: '请回答这个问题'
        },
        help: '<%= pagesMeta.number < 3 %>'
    });

2. This should be edited in the 'submitText' of the page. For example:
 API.addPagesSet('basicPage',
    {
decline:false,
        submitText: '提交',
        v1style:2,
        numbered: false,
        noSubmit:false //Change to true if you don't want to show the submit button.
    });

3. This should be edited in the 'declineText' property of the page. For example:
 API.addPagesSet('basicPage',
    {
decline:true,
declineText: '拒绝回答'
        submitText: '提交',
        v1style:2,
        numbered: false,
        noSubmit:false //Change to true if you don't want to show the submit button.
    });

Let me know if this worked for you.

Best,
Mayan

--
You received this message because you are subscribed to the Google Groups "Minno.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to minnojs+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/minnojs/CAN9p%3DakOQPqrsGzmTGCRrey7QJbDGD2zEnJ6qirGZuCC3WOgaQ%40mail.gmail.com.


--
Mayan

Jordan Axt

unread,
Apr 28, 2021, 7:44:01 AM4/28/21
to Mayan Navon, Minno.js
Hi Mayan,

Yep, that worked perfectly! Thank you.

Jordan
--
Jordan Axt
Reply all
Reply to author
Forward
0 new messages