IAT Multilanguage


Author
Message
rickyfbn
rickyfbn
New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)New Member (38 reputation)
Group: Forum Members
Posts: 1, Visits: 4
I would like to create a multilanguage IAT with either characteristics:

1) Create a batch script that chooses the language based on the specific link the participant uses to get to the start page. Thus, you would provide French speaking participants with one link, English speakers with another, German with another, etc. 

3) Program an initial script to display the dropdown for the participant to select the language. 

Could anyone advise what would the code look like or how I can actually do that?

Many thanks!
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
rickyfbn - 8/14/2019
I would like to create a multilanguage IAT with either characteristics:

1) Create a batch script that chooses the language based on the specific link the participant uses to get to the start page. Thus, you would provide French speaking participants with one link, English speakers with another, German with another, etc. 

3) Program an initial script to display the dropdown for the participant to select the language. 

Could anyone advise what would the code look like or how I can actually do that?

Many thanks!

Here's a quick rundown of options and examples:

- An example of a self-contained IAT script with dropdown-selectable language is here:https://www.millisecond.com/download/library/v5/iat/multilanguageiat/iat_multilanguage.iqzip

- The batch-option would work like this: Create the translations of your IAT as separate scripts. I.e. you'd create something like
iat_en.iqx (the English version),
iat_fr.iqx (the French version), and
iat_de.iqx (the German version).

Then create a simple <batch> script (https://www.millisecond.com/support/docs/v5/html/language/elements/batch.htm) with three conditions:

//english
<batch>/
subjects = (1,2 of 6)
/ groupassignment = groupnumber
/ file = "iat_en.iqx"
</batch>

//french
<batch>
/ subjects = (3,4 of 6)
/ groupassignment = groupnumber
/ file = "iat_fr.iqx"
</batch>

//german
<batch>/ subjects = (5,6 of 6)
/ groupassignment = groupnumber
/ file = "iat_de.iqx"
</batch>

(The block order in IATs is also assigned by groupnumber, which is why we have to make sure both odd and even groupnumbers are used for each language version)

Then, in your web experiment's settings when you upload your files, the web experiment to read the groupnumber from a query parameter, Then provide your participants with separate links as needed, i.e.

To complete the study in English, you would give out a link that looks like
https://mili2nd.co/abcd?groupid=1 (English, IAT block order #1)
https://mili2nd.co/abcd?groupid=2 (English, IAT block order #2)

To your French pariticpants provide
https://mili2nd.co/abcd?groupid=3 (French, IAT block order #1)
https://mili2nd.co/abcd?groupid=4 (French, IAT block order #2)

And for your German participants, the study links would look like this
https://mili2nd.co/abcd?groupid=3 (German, IAT block order #1)
https://mili2nd.co/abcd?groupid=4 (German, IAT block order #2)

- An example for <batch> controlled script selection by dropdown is here: https://www.millisecond.com/forums/Topic23921.aspx#bm23934


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search