This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:create:multilang [02.02.2014 14:55] – [Use of language versions in the questionnaire] katharina.kollmann | en:create:multilang [07.10.2021 23:47] (current) – xexap56528 | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Multilingual Surveys ====== | + | ====== Multilingual Surveys |
In a multilingual survey, you can easily deposit one or more translations for all visible texts (e.g. questions, text modules, scale labels, error messages). | In a multilingual survey, you can easily deposit one or more translations for all visible texts (e.g. questions, text modules, scale labels, error messages). | ||
- | The [[:de: | + | The [[:en: |
**NOTE:** Each question can contain multiple language versions (see more in this chapter). You __must not__ make any copies of questions, sections or text moduls for a new language version. | **NOTE:** Each question can contain multiple language versions (see more in this chapter). You __must not__ make any copies of questions, sections or text moduls for a new language version. | ||
- | ===== How to create | + | ===== Creating |
- | * Create a new questionnaire | + | First, create your questions and the questionnaire. The language |
- | * Select | + | |
- | * Select | + | In **Survey Project** -> **Project Settings** now click //Add another Language//. |
+ | |||
+ | {{: | ||
+ | |||
+ | Now select the language, you would like to translate the questionnaire to. If more than one language is used in the survey, | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Using **Manage Language Versions** you can now select | ||
+ | |||
+ | **Tip:** You are working | ||
- | * Go to **language administration** to select the language you want to see first while editing the questionnaire (see below for more information. Select the language you have recently added. | ||
===== Translating the questionnaire I ===== | ===== Translating the questionnaire I ===== | ||
Line 74: | Line 83: | ||
* You can select a language in the set-up of the questionnaire(**questionnaire set-up**, tab **settings**). The questionnaire will always start in the selected language version. | * You can select a language in the set-up of the questionnaire(**questionnaire set-up**, tab **settings**). The questionnaire will always start in the selected language version. | ||
- | * You can include a note for the language(s) in the link to the questionnaire(s. | + | * You can include a note for the language(s) in the [[:en: |
* You can also decide to not preset any language in the questionnaire set-up (" | * You can also decide to not preset any language in the questionnaire set-up (" | ||
Line 88: | Line 97: | ||
===== How to change language dynamically ===== | ===== How to change language dynamically ===== | ||
- | If you want to change the language version during the survey process the PHP functions'' | + | If you want to change the language version during the survey process the PHP functions '' |
* hide entire questions in the respective language versions dynamically. | * hide entire questions in the respective language versions dynamically. | ||
* control the order of items depending on the language. | * control the order of items depending on the language. | ||
* create your own language selection. | * create your own language selection. | ||
+ | |||
+ | ===== Non-Western Languages ===== | ||
+ | |||
+ | The standard Western fonts may not contain all the characters you need for Chinese, Japanese, Indian, Persian, Hebrew, etc. The best solution is to add fonts with the appropriate characters in [[: | ||
+ | |||
+ | Arial, Helvetica, tahoma, verdana, 宋体, SimSun, 华文细黑, | ||
+ | | ||
+ | In front in this example are additionally the western fonts. This __can__ be useful but does not have to be. It makes a difference especially when Western and non-Western characters are mixed in the questionnaire. | ||
+ | |||
+ | But you may also want to use a different font for the complete questionnaire (but only for a single language version). So e.g. " | ||
+ | |||
+ | In this case, adjust the predefined text module //Layout: HTML-Code in < | ||
+ | |||
+ | <code html> | ||
+ | <style type=" | ||
+ | body, | ||
+ | textarea, | ||
+ | input, | ||
+ | select { | ||
+ | font-family: | ||
+ | } | ||
+ | </ | ||
+ | </ | ||
+ | |||
+ | For other language versions you can of course store other definitions. If you do not specify anything, the definition from the layout is used. |