Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
en:create:multilang [12.01.2015 21:31]
admin
en:create:multilang [16.01.2015 09:56]
admin [How to change language dynamically]
Line 7: Line 7:
 **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 ​multilingual survey project: ​=====+===== Creating ​Multilingual Survey ​=====
  
-  * Create a new questionnaire ​and add questions. The original ​language of the new survey project will hereinafter be referred to as //default ​language//​. +First, create your questions and the questionnaire. The language ​used to create the first version ​of the questionnaire is called ​//base language//​. 
-  Select ​//add language version// in the **project'​s set-up**. + 
-  Select ​the preferred ​language ​versionA new menu item called ​** language versions** will appear ​in the ** navigation**.+In **Survey Project** -> **Project Settings** now click //Add another Language//
 + 
 +{{:​en:​create:​scr.multilang.add.png?​nolink|Add a translation}} 
 + 
 +Now select the language, you would like to translate the questionnaire to. If more than one language is used in the survey, ​the **Control** menu will show the item **Language Versions**. 
 + 
 +{{:​en:​create:​scr.multilang.control.png?​nolink|Language Versions in the Menu}} 
 + 
 +Using **Manage Language Versions** you can now select ​the language ​to primarily use for editing (see below for details)Please select the language you have added. 
 + 
 +**Tip:** You are working ​in the questionnaire and the menu item **Language Versions** is not selected? Just move the mouse pointer over the menu item and wait a second for the menu to open. Now, you can comfortably click one of the language symbols to change the editing language.
  
-  * 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 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''​[[:​en:​create:​functions:​getlanguage|getLanguage()]]''​ and ''​[[:​en:​create:​functions:​setlanguage|setLanguage()]]''​ are at your disposal. You can ...+If you want to change the language version during the survey process the PHP functions ''​[[:​en:​create:​functions:​getlanguage|getLanguage()]]''​ and ''​[[:​en:​create:​functions:​setlanguage|setLanguage()]]''​ are at your disposal. You can ...
  
   * 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.
en/create/multilang.txt · Last modified: 16.01.2015 09:56 by admin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki