Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
en:create:functions:getlanguage [14.01.2015 20:24] alexander.ritteren:create:functions:getlanguage [16.01.2015 18:50] – [Examples] alexander.ritter
Line 5: Line 5:
 Determines which language the questionnaire is currently shown in. This function is particularly helpful if the participant is able to choose from different language versions at the beginning of the survey ([[:en:create:multilang|Multilingual Surveys]]). Determines which language the questionnaire is currently shown in. This function is particularly helpful if the participant is able to choose from different language versions at the beginning of the survey ([[:en:create:multilang|Multilingual Surveys]]).
  
-The function returns the three letter language code as specified in  [[http://www.loc.gov/standards/iso639-2/php/code_list.php|ISO 639-2]]. The language code for your survey can be found in **Language Versions** -> **Language Administration** (if your survey project has multiple language versions).+The function returns the three letter language code as specified in  [[http://www.loc.gov/standards/iso639-2/php/code_list.php|ISO 639-2]]. The language code for your survey can be found in **Language Versions** -> **Manage Language Versions** (if your survey project has multiple language versions).
  
  
 ===== Examples ===== ===== Examples =====
  
-Depending on the language version, the participants should be forwarded to various different websites at the end of the questionnaire.+At the end of the questionnaire, the participants will be forwarded to different websites depending on the language version.
  
 <code php> <code php>
en/create/functions/getlanguage.txt · Last modified: 24.01.2015 13:41 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki