Previous Next

To open or use this sample form, go to the Design tab, scroll down to the Your forms and datasets section, and click + then Start new form; then enable Use a sample form as your starting point and choose Languages: Including translations from the list. You can also click here to download the spreadsheet form definition.

When you open the spreadsheet form definition for this sample, you will notice two columns highlighted in orange: label:spanish and constraint message:spanish. Both of these columns are on the far right of the form, so you will probably need to scroll right to reach them. They have been added to the "basics" sample form in order to supply Spanish-language translations:

typenamelabellabel:spanishconstraint message:spanish
textnameWhat is your name?¿Cuál es su nombre? 
integerageHow old are you?¿Cuántos años tiene?Por favor, introduzca una edad válida para continuar.

You will also find translations on the choices worksheet. A column has been added there to provide Spanish versions of the multiple-choice labels:

list_namevaluelabelimagelabel:spanish
yesno1Yes 
yesno0No No

Finally, on the settings worksheet, you will notice a column for default_language:

form_titleform_idversiondefault_language
Sample Form - Languagessamplelanguages2013030512english

The default_language tells SurveyCTO which language is used in all the default columns in the form. In this case, the text in the default label columns is in English, so the default language is set to "english". This setting also helps make sure the interface language will match the form language when filling out your form in a web browser. See the topic on translating web forms for more details.

From any page of the survey (including the opening screen), users filling out this form will be able to click Change language and then choose whether they want to see English or Spanish. (On mobile, they open the three-dot menu in the upper-right to find the Change language option; on the web, they can use the language selector dropdown in the main toolbar.)

Previous Next