Server User Guides > Interviewer - Server > Build > Non-question items > Inserting routing code from the script library
 
Inserting routing code from the script library
When you create a questionnaire, Build saves the questionnaire definition in two sections. The Metadata section contains the questions, and the Routing section contains statements that display or print the questions in the order they appear on the Overview tab. In most surveys, you will want to do more than this. For example, you might want to add a page banner to display the survey title at the top of each page, or you will want to present a block of questions in a different order for each respondent. These and other such tasks are controlled by the Routing section of the questionnaire.
You can always use an IOM Script item to insert statements in the Routing section, but Build comes with a library of script snippets for common tasks that you can load into the questionnaire. Some of these script snippets can be used exactly as they are, but others will need to be modified once they have been loaded, for example, to replace dummy question or response names with the corresponding names from your questionnaire. Each script file is named according to what it does and contains comments explaining how it should be used.
When you insert statements in this way, Build creates a single IOM Script item for all the statements in the file. You can then edit these statements in the usual way if necessary.
To insert code from the script library
1 Click Insert Item.
The New Item dialog opens.
2 Select the Routing Items tab.
3 Choose Insert from Script Library and click OK.
The Script Library dialog opens.
4 In the Interview Scripts frame, select the script you want to use.
The script appears in the Interview Script Item Description frame.
5 Click OK.
6 If the script indicates that it requires customization, make the necessary changes.
See also
Language codes for the change language script snippet
Non-question items
Language codes for the change language script snippet
The following table shows the 3-character language codes for many of the world’s languages.
Code
Language
AFK
Afrikaans
SQI
Albanian
ARG
Arabic - Algeria
ARH
Arabic - Bahrain
ARE
Arabic – Egypt
ARI
Arabic – Iraq
ARJ
Arabic – Jordan
ARK
Arabic – Kuwait
ARB
Arabic – Lebanon
ARL
Arabic – Libya
ARM
Arabic – Morocco
ARO
Arabic – Oman
ARQ
Arabic – Qatar
ARA
Arabic – Saudi Arabia
ARS
Arabic – Syria
ART
Arabic – Tunisia
ARU
Arabic – United Arab Emirates
ARY
Arabic – Yemen
HYE
Armenian
EUQ
Basque – Basque
BEL
Belarusian
BGR
Bulgarian
CAT
Catalan
CHS
Chinese
ZHH
Chinese – Hong Kong, SAR
ZHI
Chinese – Singapore
CHT
Chinese – Taiwan
HRV
Croatian – Croatia
CSY
Czech
DAN
Danish
NLB
Dutch – Belgium
NLD
Dutch – The Netherlands
ENA
English – Australia
ENL
English – Belize
ENC
English – Canada
ENB
English – Caribbean
ENI
English – Ireland
ENJ
English – Jamaica
ENZ
English – New Zealand
ENS
English – South Africa
ENT
English – Trinidad
ENG
English – United Kingdom
ENU
English – United States
ETI
Estonian – Estonia
FOS
Faroese – Faroe Islands
FAR
Farsi
FIN
Finnish
FRB
French – Belgium
FRC
French – Canada
FRA
French – France
FRL
French – Luxembourg
FRS
French – Switzerland
DEA
German – Austria
DEU
German – Germany
DEC
German – Liechtenstein
DEL
German – Luxembourg
DES
German – Switzerland
ELL
Greek
HEB
Hebrew
HIN
Hindi
HUN
Hungarian
ISL
Icelandic
IND
Indonesian
ITA
Italian – Italy
ITS
Italian – Switzerland
JPN
Japanese
KOR
Korean
LVI
Latvian
LTH
Lithuanian
MSL
Malay – Malaysia
NOR
Norwegian (Bokmal)
NON
Norwegian (Nynorsk)
PLK
Polish
PTB
Portuguese – Brazil
PTG
Portuguese – Portugal
ROM
Romanian – Romania
RUS
Russian – Russia
SRB
Serbian (Cyrillic)
SRL
Serbian (Latin)
SKY
Slovak
SLV
Slovenian
ESS
Spanish – Argentina
ESB
Spanish – Bolivia
ESL
Spanish – Chile
ESO
Spanish – Colombia
ESC
Spanish – Costa Rica
ESD
Spanish – Dominican Republic
ESF
Spanish – Ecuador
ESE
Spanish – El Salvador
ESG
Spanish – Guatemala
ESH
Spanish – Honduras
ESM
Spanish – Mexico
ESI
Spanish – Nicaragua
ESA
Spanish – Panama
ESZ
Spanish – Paraguay
ESR
Spanish – Peru
ESU
Spanish – Puerto Rico
ESY
Spanish – Uruguay
ESV
Spanish – Venezuela
SVF
Swedish – Finland
SVE
Swedish – Sweden
THA
Thai – Thailand
TRK
Turkish
URK
Ukrainian
URD
Urdu
VIT
Vietnamese – Vietnam
See also
Inserting routing code from the script library