x

Main chapters

  1. LimeSurvey Cloud vs LimeSurvey CE
  2. LimeSurvey Cloud - Quick start guide
  3. LimeSurvey CE - Installation
  4. How to design a good survey (Guide)
  5. Getting started
  6. LimeSurvey configuration
  7. Introduction - Surveys
  8. View survey settings
  9. View survey menu
  10. View survey structure
  11. Introduction - Questions
  12. Introduction - Question Groups
  13. Introduction - Surveys - Management
  14. Survey toolbar options
  15. Multilingual survey
  16. Quick start guide - ExpressionScript
  17. Advanced features
  18. General FAQ
  19. Troubleshooting
  20. Workarounds
  21. License
  22. Version change log
  23. Plugins - Advanced
 Actions

Multilingual survey: Difference between revisions

From LimeSurvey Manual

Cdorin (talk | contribs)
mNo edit summary
Cdorin (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{Alert|text=Under construction}}
{{Alert|text=Under construction}}


Line 7: Line 5:
=How to hide the language switcher=
=How to hide the language switcher=


There are many ways in which you can hide the language switched that is displayed on the welcome page.


We recommend you to edit the corresponding .twig file. Comment <nowiki>{% if aSurveyInfo.alanguageChanger.show == true %}</nowiki> and add <nowiki>{% if %false == true %}</nowiki>
In the case in which you decide to launch a multilingual survey, you will observe on the welcome page a drop-down menu that permits your respondents to select the language in which they wish to fill in your survey.  


However, in certain scenarios you wish to hide the respective option. There are many ways in which you can hide the language switcher.


To hide the language switched, you have to access the Themes section:
One method that we recommend is to edit the corresponding .twig file. Comment <nowiki>{% if aSurveyInfo.alanguageChanger.show == true %}</nowiki> and add <nowiki>{% if %false == true %}</nowiki>
 
To do that, access the Themes section




<center>[[File:]]</center>
<center>[[File:]]</center>
<syntaxhighlight lang="php" enclose="div">upload_tmp_dir="/temp"
session.save_path="/temp"</syntaxhighlight>




Line 30: Line 35:




Edit the line that contains the following function: . The line should look like this in the end:
Edit the line that contains the following function:  
 
 
<syntaxhighlight lang="php" enclose="div">upload_tmp_dir="/temp"
 
session.save_path="/temp"</syntaxhighlight>
 
 
The line should look like this in the end:
 
 
<center>[[File:]]</center>
 
 
Now, the welcome page should look like this:
 


Code
<center>[[File:]]</center>

Revision as of 13:54, 22 November 2018

  Under construction



How to hide the language switcher

In the case in which you decide to launch a multilingual survey, you will observe on the welcome page a drop-down menu that permits your respondents to select the language in which they wish to fill in your survey.

However, in certain scenarios you wish to hide the respective option. There are many ways in which you can hide the language switcher.

One method that we recommend is to edit the corresponding .twig file. Comment {% if aSurveyInfo.alanguageChanger.show == true %} and add {% if %false == true %}

To do that, access the Themes section


[[File:]]


upload_tmp_dir="/temp"

session.save_path="/temp"


Click on the Theme editor button to edit the desired theme:


[[File:]]


Look on the left side of the screen for the language_changer.twig file.


[[File:]]


Edit the line that contains the following function:


upload_tmp_dir="/temp"

session.save_path="/temp"


The line should look like this in the end:


[[File:]]


Now, the welcome page should look like this:


[[File:]]