SurveyFactory Documentation Documentation Managing Multiple Languages
Managing Multiple Languages

With the multiple languages option under Survey Options, a survey can be created that comes in multiple languages. In general, when a survey participant encounters a survey in multiple languages, they will see a menu on the survey itself, that allows them to switch languages at any time.

Managing Languages for a Survey

By default, the English language is added to all newly created surveys. There are two key parts to a language in a survey, the language fields and the language file associated with the language. For each language you add to the survey, any time you encounter a language related field, you will see one field for each listed survey language. For example, if you had Japanese and English as your survey languages, when asked to modify a language related field such as the Survey Name, you will see one field for Japanese, and one for English. There parts of the survey where the language fields do not address, such as the error messages that are displayed when required questions are not filled, or when an invalid answer is entered. This is where the language file comes in. Proceed to Language Files for more information on creation and management of language files.

Adding a Language

There are two ways of adding a language. The easiest way to add a language is to simply select a language from a giant list of available languages from the Select Language field. This allows you to quickly add a language and have the language name, code and direction correctly populated. You may still have to edit it in the list to add any custom language file you have created.

Otherwise, fill out all the fields beneath the Select Language field and click on Add Language. For information regarding each field, please read the details of the fields at the bottom of this page.

Modifying a Language

To modify the language, select the language you wish to modify in the list of languages from the multiple select box. Then proceed to modify the fields detailing the language, and click on Modify Language when you are done.

Deleting a Language

To delete a language, click on the language you wish to delete from the list of select box, and click on the Delete Language button. You will be asked to confirm the deletion. The interface will not allow you delete all the languages, since a minimum of one language is required.

Please note that you cannot undo this action and any language strings you have defined within this survey will be lost.

Additional Fields for Languages

Below are descriptions for each form field found within the Multiple Languages window box for language management.

Language Name

When adding or modifying a language, the Language Name must be specified. This entry is used when displaying to the survey taker the list of languages the survey can be taken in.

Language Code

The Language Code is another required field for adding or modifying languages. The language code contains a list of matching laguage identifiers that will be used in automatic browser language identification. You can specify multiple language codes for any given language, separating them by commas or semicolons. You will want the language codes you enter here to match those that are generally sent by web browsers. For example, the language code for English is en, while "en-US" and "en-GB" are common localizations. Including 'en' will catch both of those localizations as well.

To see a list of all of the language codes, you can visit Wikipedia: List of ISO 639-1 codes.

Language File

The Language File is a required field for adding or modifying languages. The language files define the error strings and other strings encountered during the survey dispatch. For instance, the text you encounter when you skip a required question is the following:

You must answer the following question!

If you have the advance plan, you can create your own language file and define your own strings. The custom language file will appear here for you to select.

Language Direction

Predominately the languages read from left to right, especially for Western languages. However, certain languages such as Arabic read from right to left, and you can specify the language direction with this field. This is not a required field, so the default value is Left to Right. It is important to get correct, however, as templates will often make use of this information in the survey layout.