Source URL: https://docs.surveycto.com/02-designing-forms/04-sample-forms/02.translating.html
Last updated: 2020-05-29
Languages: Including translations
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:
|text||name||What is your name?||¿Cuál es su nombre?|
|integer||age||How 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:
Finally, on the settings worksheet, you will notice a column for default_language:
|Sample Form - Languages||samplelanguages||2013030512||english|
Because the text in the default label columns is in English, the default language is set to "english".
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 click their device's option button to find the Change language option; on the web, it's in the Options menu.)